Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Mobile / Android

Installing Applications on android from your computer

0.00/5 (No votes)
30 Aug 2010CPOL 28.5K  
The purpose of the article is to provide a simple description to install applications that are not available on android market or for testing our own applications on the device. The android installation executables will have an .apk extension (apk – android package)

Executables will have an .apk extension (apk – android package)


We have to change the following settings for installing .apk files from your computer. On your device:



  1. Click Menu -> Settings -> Applications -> Unknown sources. If it is not checked, check it
  2. Menu -> Settings -> Applications -> Development -> USB debugging. Check this box
  3. Connect the USB cable.
  4. Notifications (the drop down bar at the top of the home screen) -> select USB connected -> Click Mount

(OR



  • Menu -> settings -> SD card and storage -> click on Disable use for USB storage and enable it

On your computer, install these if you don’t have it:



  1. android sdk - http://developer.android.com/sdk/index.html
  2. USB driver - http://developer.android.com/sdk/win-usb.html

Steps:



  1. On your command prompt navigate to the folder where u had installed the android sdk and then go to tools folder.
  2. On my computer it was on "C: \Documents\ android-sdk-windows\tools"


  3. Type adb install <path><file_name>.apk. If you have the .apk file in the tools folder you can simply type adb install example.apk.

You have successfully installed the application.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)