This section will provide information on how to set up your supported device for running, debugging, and testing your mobile application.
Please review the System and Hardware Requirements above for the list of supported devices for this SDK release.
In order to test and debug applications on your Android device, you will need to enable specific developer options on the device:
Developer options may be found under: Settings -> System -> Developer options.
Developer options may be hidden by default. If so, you can expose these options with the following steps:
Locate Build number option in Settings. Android M and later: Go to Settings -> System -> About device -> Software Info.
Earlier Android Versions: Go to Settings -> System -> About device.
You should be informed that Developer options has been enabled.
Once you have found Developer options, enable the following:
USB Debugging: This will allow the tools to install and launch deployed apps over USB.
You should see the screen shown on the accompanying figure.
Check Always allow this computer and hit OK.
To purge the authorized whitelist for USB Debugging, press Revoke USB debugging authorizations from the Developer options menu and press OK.
Allow mock locations: This will allow you to send mock location information to the device (convenient for apps which use Location Based Services).
Verify apps via USB: This will check installed apps from ADB/ADT for harmful behavior.
The following display options are found in: Home -> Apps -> Settings -> Sound and Display.
Lock screen/Screen Security/Screen lock: Set to None to make the Home screen is instantly available, without swipe or password. Useful to quickly get in and out of the phone.
Display/Screen timeout: Set the time to your desired duration. Useful if you are not actively accessing the device but wish to keep the screen awake longer than the default 30 seconds.
See Android Debugging for more information.