Configuring Your Android Hardware for Debugging

Appportunity

Build your own Android App Dev Empire

Get Instant Access

Android devices have debugging disabled by default.Your Android device must be enabled for debugging via a USB connection in order to develop applications and run them on the device.

First, you need to enable your device to install Android applications other than those from the Android Market. This setting is reached by selecting Home, Menu, Settings, Applications. Here you should check (enable) the option called Unknown Sources.

More important development settings are available on the Android device by selecting Home, Menu, Settings,Applications, Development (see Figure 2.2). Here you should enable the following options:

■ USB Debugging: This setting enables you to debug your applications via the USB connection.

■ Stay Awake: This convenient setting keeps the phone from sleeping in the middle of your development work, as long as the device is plugged in.

■ Allow Mock Locations: This setting enables you to send mock location information to the phone for development purposes and is very convenient for applications using location-based services (LBS).

Figure 2.2 Android debug settings.

Was this article helpful?

0 0
Easy Software Profits

Easy Software Profits

Here's How Anyone Can Start, Build and Run their Own Successful Software Empire Without Knowing the First Thing About Programming, Scripting Or Any 'Coder' Stuff. There is no doubt about it software sells. Software has a high percieved value and it solves problems for people.  A claim that can't always be made for PDF books, Video products and the like.

Get My Free Ebook


Post a comment