Installing an application on a physical Android device



Installing the application on a device is no different than installing an application on the emulator. You need to make a few small adjustments to get it to work .i.e.:


 


Enable the installation of non–Android Market applications.


 


 From the home screen of your phone, access the Settings panel (choose MenuSettings). Choose Applications.


 


Select the Unknown Sources check box


You will most likely want to be able to debug on your device.


 


While in the Applications Settings screen (the same screen where you made the last change), choose Development and select the USB Debugging option.


This allows you to debug your application on your device (more on debugging in a moment).


 


Plug your phone into the computer using a USB cable.


 


When the phone is detected on your system, run the application by either choosing RunRun or pressing Ctrl+F11.


At this point, the ADT has recognized another option for a launch configuration; therefore, it is going to ask you which device you want to run the application under with the Android Device Chooser dialog box.


Please note: The emulator won’t show up in the list of available options unless the emulator is running.


 


Choose your phone from the list and click the OK button.


This sends the application to your phone, and it launches it just as it would with the emulator. In a few seconds, the app should show up on your phone.


 


You’ve now deployed the application to your phone.

Editor: ankita Added on: 2013-03-01 12:22:48 Total View:317







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---