Game Development Reference
In-Depth Information
Running on an Actual Android Device
In order to download and run the program on an actual Android device, the device must be put
into USB Debugging mode. Press the Menu key, which is the left-most key on the bottom portion
of an Android phone. Click the Settings button, then click the Applications button and then the
Development button. Click the “USB Debugging” option. After doing so, the item should be
checked, as in Figure 1-26 .
Figure 1-26. Setting USB Debugging mode
Note On Android 4.0 and newer models, the USB Debugging option is under the Settings ➤ Developer
options. On Android 4.2 and newer models, the Developer options are hidden by default. To make it available,
go to Settings ➤ About Phone and tap the Build number seven times. Return to the previous screen to find
Developer options.
Next, you have to install the appropriate USB software driver for your model of Android phone onto
your development system. Try to connect your Android device to your computer first, to see if it
automatically installs the correct drivers. If you can't run the program on your device, then you will
have to install a device driver from the manufacturer. Usually the manufacturer of your phone has
a web site with downloadable drivers. After doing this, connect your phone to your development
system, using a USB cable, which most likely was included with your mobile phone.
 
 
Search WWH ::




Custom Search