Sunday, October 30, 2011

How to Install Android Apps By Default to the SD Card - Android 2.2 Froyo

In this tutorial we will help install Android apps and games to the SD card of your Android powered device. This will help you avoid running out of internal storage. Here are the requirements:

  • Android Device
  • USB Cable for connecting your phone to PC
  • Android SDK Manager 
Getting Started

1. Enabling USB Debug Mode:

- The USB debug mode can be enabled by navigating to Menu > Settings > Applications Development, then enabling USB debugging:

2. Installing Android SDK:

- Install Android SDK for your OS from here. Then in the Android SDK Manager main window, install the Google USB Driver package:

3. Connect now your device USB cable to your computer and don't mount the device. The OS will ask you to install new drivers, you have to select to install them from the android-sdk/usb_driver folder.

4. Open now the command prompt window by pressing Windows Logo + R and running cmd. Then navigate to the android-sdk\tools folder (\Android\android-sdk\tools), for my part, I installed the Android SDK manager in the Program Files folder, so the path to the tools folder will be:

C:\Program Files\Android\android-sdk\tools

If it's the same, then use this command to navigate to this folder:

cd C:\Program Files\Android\android-sdk\tools

Otherwise provide the correct path to the android-sdk\tools folder.

5. Once inside this folder, run this command:

adb devices

The output returned must have a serial number that starts with the "H" letter.

6. Run now this command:

adb shell pm setInstallLocation 2

7. Your phone is now ready to accept installation of apps in the SD card by default.

8. If you want to install apps in the internal memory by default, run simply this command:

adb shell pm setInstallLocation 0

That's it!

0 Responses to “How to Install Android Apps By Default to the SD Card - Android 2.2 Froyo”

Post a Comment