Tuesday, December 01, 2009

Install and Uninstall Applications on an Android Device

Adding an application
  1. Change directory to the Android SDK directory/tools
  2. Make sure either the phone is connected or the emulator is running
  3. Double check the connection by typing
    android list
    Make sure your device is in the list (you can also type adb devices but this doesn't give as much information)
  4. Type adb install yourapkfile.apk
  5. You will see output such as:
    1227 KB/s (982154 bytes in 0.781s)
    pkg: /data/loca/tmp/yourapkfile.apk
    Success
Removing Applications
  1. Turn on the phone or run the emulator
  2. Open the tray
  3. Go to settings
  4. Click Applications
  5. Click "Manage Applications"
  6. Click the name of the application you wish to uninstall
  7. Click the button "Uninstall"
  8. You should get a message confirming the application was uninstalled

No comments:

Labels

Blog Archive

Contributors