How to Launch Android Applications on a real Handset


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

Now follow these steps to correctly launch your application in real handset:

1. In Eclipse, choose Run, Debug Configurations.

2. Double-click DroidDebug 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, showing all available configurations for running and debugging your application. All physical devices are listed, as are existing emulators that are running. You can also launch new emulator instances by using other AVDs you have created.

6.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.

 

This picture will help you ,basically this is Eclipse dialog for choosing an application deployment target.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: