Tuesday, September 24, 2013

Ways to install an apk into device

There are different ways of installing any apk inside device:
  1. Using USB and eclipse
  • At first you need to install the drivers for the specific phone
  • Enabling USB debugging in phone can be done by selecting Setting application->Developer option->USB Debugging must be checked
  • Inside eclipse select DDMS now you will be able to locate your device inside the devices segment
  • Select the project you want to install by right click Run As->Run configuration->select your device ->click OK
  • It will get Installed in your phone.
     2.Using Command line
  • Follow the steps as mentioned in (1) for phone to be set in debugging mode
  • Go to the command prompt (by start->run->type cmd-> hit enter) 
  • locate your android sdk folder and the platform-tools inside sdk folder
  • cd path to sdk/platform-tools
  • once the directory is changed to platform tools type command adb install yourapp.apk
3.Directly pasting the apk inside your phone storage and installing
4.Sending via mail are other alternatives J


No comments: