[Tips for Android Developer] Move your applications to External Storage (SDcard)

Many android users have a big problem with disk space. Every Applications on the device should be installed on the device’s internal memory.

But, in Froyo and above allows you to install application on the external storage (SD Card), but if only the developer actually enables that feature in his application.

According to the http://developer.android.com/guide/appendix/install-location.html, developer can set his application’s install location to the external storage by set android:installLocation attribute with a value of “auto” or “preferExternal” in the <manifest> element.

How about usual or ordinary users?

Yeah, it’s easy to do that with command prompt or terminal window and of course, you need ADB Tools (or Android SDK).

  1. Please, make sure that you enabled “USB debugging” mode on your phone.
  2. You need the Android SDK or ADB tools. Please install it to your computer.
  3. Connect your phone to a USB port, open up a terminal window (command prompt), and type “adb shell pm setInstallLocation 2” (without the quotes). (ADB is part of the Android SDK.
    This will enable the move to SD card option for all applications.)
  4. Now, press menu button, go to the Settings menu > Applications menu and move your apps to your SD card.
  5. To restore this setting back to default type “adb shell pm setInstallLocation 0“.

Done! 😀
You’ve got the point of success with this. And enjoy your applications..they should be stored on the sd card. 🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.