Android Programming Tutorials

(Romina) #1
How To Get Started

Figure 79. Android device development settings

Generally, you will want to enable USB debugging, so you can use your


device with the Android build tools. You can leave the other settings alone


for now if you wish, though you may find the "Stay awake" option to be


handy, as it saves you from having to unlock your phone all of the time


while it is plugged into USB.


Next, you need to get your development machine set up to talk to your


device. That process varies by the operating system of your development


machine, as is covered in the following sections.


Step #1: Windows


When you first plug in your Android device, Windows will attempt to find a


driver for it. It is possible that, by virtue of other software you have


installed, that the driver is ready for use. If it finds a driver, you are


probably ready to go.


394
Free download pdf