Click here to Skip to main content
Click here to Skip to main content

Installing Applications on android from your computer

By , 30 Aug 2010
 

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)

About the Author

a-machan
Software Developer
United States United States
Member
I am interested in mobile development and cloud computing. I like to keep myself update on the latest technologies and trend

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralHow to start .apk file auto metrically when we put .apk file...memberMsmVc2 Feb '11 - 19:40 
How to start .apk file auto metrically when we put .apk file through adb install <path>.apk
 
Please help me
GeneralWhat application are you using that has Menu?memberamccombs21 Dec '10 - 13:19 
What application are you using that has Menu?
GeneralIs it possible to debug Android Application on the device wi...memberGPUToaster30 Aug '10 - 20:17 
Is it possible to debug Android Application on the device without installing it? I think it may be possible if we could do a SSH to the device or something similar to directly run on it. You see that would be very helpful. (Though i am not sure if it is possible on Android based devices, as i have seen on some linux based devices).
GeneralWe dont need this if the app is on the android device. This ...membera-machan30 Aug '10 - 10:23 
We dont need this if the app is on the android device. This is useful when we develop a application in a PC and want to test it independently or if we want to install some 3 rd party applications which we come across from other sources while browsing on our PC
GeneralIf the app package is on the Android device why do you need ...mvpMark Nischalke30 Aug '10 - 7:21 
If the app package is on the Android device why do you need a PC to install? Not a very good tip.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 30 Aug 2010
Article Copyright 2010 by a-machan
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid