Monday, August 5, 2013

Methods of Installing Build on Android Devices

Using Adb Command:
  • Pre Conditions: Hope Java JDK &Andriod SDk's are installed on machine and environment variables are set  with path of Android Tools folder & Java home.
  • Connect the device or emulators to machine
  • Open the Command prompt
  • Type adb install xyz.apk (Drag and drop the your application apk to command prompt)
  • Press the enter button
  • It will Install the xyz.apk on your device or emulator.

Using Copy & paste method:
  • Connect the device  to machine
  • Open the My Computer > your android device > Storage> Create a folder with any name Say Test
  • Copy and paste the  xyz.apk to above step created folder in my case Test folder
  • Disconnect the device from machine and open the Test folder on Device using any file explorer software
  • Click on the xyz.apk file and click on Install or next button as present on screen.
  • It will Install the xyz.apk on your device. 
Using Email attachment configured on device method:
  • Configure any valid email address on device
  • Attached the xyz.apk to an email and send it to the email address configured on device
  • Open the email on device and download the attachment
  • Click on the xyz.apk file and click on Install or next button as present on screen.
  • It will Install the xyz.apk on your device. 

Using OTA(Over the Air) method if your server is configured in such a way:
  • Pre Condition: Your server is configured with such a way so that the url can be accessed from any device or browser say qa.yourcompany.com\apps
  • Open the browser of mobile device and open the url which is configured with App build say qa.yourcompany.com\apps
  • It will ask you to download the app, click on Yes or Accept
  • Click on the xyz.apk file and click on Install or next button as present on screen.
  • It will Install the xyz.apk on your device. 

No comments:

Post a Comment