Setting Up Your Phone
The Android SDK includes an emulator that acts like an Android phone and can run the apps you create. This comes in handy as you’re writing an app because you can get it working in a test environment, but at some point you need to see how it works on an actual Android phone (or other device).
You can deploy apps you write with the SDK on an Android device over your computer’s USB connection. You can use the same cord you use to transfer files to and from the device.
Before connecting the cord, you must enable USB debugging on the phone by following these steps:
1. On the phone’s Home screen, choose Menu, Settings. The Settings app opens.
2. Choose Applications, Development and check the USB debugging box.
Figure D.4. Using ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access