Android Tutorial

(avery) #1

By : Ketan Bhimani


38 

A complete list of Android development system requirements is
available.

Configuring Your Operating System for Device Debugging

To install and debug Android applications on Android devices, you
need to configure your operating system to access the phone via
the USB cable. On some operating systems, such as Mac OS, this
may just work. However, for
Windows installations, you
need to install the appropriate
USB driver. You can download
the Windows USB driver.

Android application debugging
using the emulator and an
Android handset.

Configuring Your Android Hardware for Debugging

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. Here you should enable the following options:

 USB Debugging: This setting enables you to debug your applications via
the USB connection.
Free download pdf