Search this blog

Launching Android Applications on a real Handset

Now to load your application onto a real handset, you need to plug in a handset into your computer, using the USB data cable.

Now follow the given below steps to ensure that you are going in right direction,

1. In Eclipse, choose Run, Debug Configurations.
2. Double-click "projectname" Debug Configuration.
3. On the Target tab, set Deployment Target Selection Mode to Manual. You can always change it back to Automatic later, but choosing Manual will force you to choose whether to debug within the emulator (and choose an AVD) or a device, if one is plugged in, whenever you choose to debug.
4. Apply your changes by clicking the Apply button.
5. Click the Debug button within Eclipse.

A  dialog appears,that is showing all available configurations for running and debugging your application. All physical devices are listed, as are existing emulators that are running.

6.Now Double-click one of the running Android devices. There should be one listed for each handset plugged into the machine, in addition to one for each emulator instance running. If you do not see the handset listed, check your cables and make sure you installed the appropriate drivers.


Post a Comment