10
May

Assumptions:

I assume that you have downloaded the Android SDK from the Android homepage at http://developer.android.com/sdk/index.html

Also, you have Eclipse fitted with Android Development Tools (ADT) plugin from https://dl-ssl.google.com/android/eclipse/

And, you know how to create the Hello World Android application via Eclipse and run it on the emulator that comes with the Android SDK.

Setting up your real Android Device (we tried with HTC Magic).

1) In the phones settings menu, choose applications and come development menu and enable USB debugging.

2) Connect the device to the USB port and when Windows detects the device, point Windows to your

C:\Android SDK usb_driver folder.

In case WIndows has not detected or there was an error, start Windows Device manager and come to

Android Phone/ADB Interface, right click and update driver and point to C:\Android SDK usb_driver folder.

3) Start Eclipse and create your Android applications and choose Run Configurations menu select your application and choose Target Manual.

You will be prompted to choose between the Emulator or the real device.

Make sure that the phone OS version matches with that of your application.

Sree
Posted by on 10 May 2010 by Sree in Android

3 Responses to “How to Develop using Google Android SDK on a real Android Phone connected to Windows USB port”

Add reply

*