Android – Enable the "Move to SD card" Feature

By -

Problem: How do i enable the “Move to SD card” feature?

Android - enable the "Move to SD card" feature

Android - enable the "Move to SD card" feature

Solution:
To solve the above problem, we have to set the android:installLocation attribute inside the AndroidManifest.xml file.

android:installLocation => It defines the location where the application will install. It takes one values from the 3 values as shown below:

android:installLocation

android:installLocation

So if we set android:installLocation=”auto” value then it will allows the user to have choice to move app to SD card whenever they want. We should give this kind facility to the user as most of mobile are having low internal memory as compared to external memory.

Note: android:installLocation is available from API Level 8.

For more information and reference, i would suggest you to go through this link:http://developer.android.com/guide/appendix/install-location.html

Please feel free to share your review.

Paresh Mayani

Paresh Mayani is a lead android developer from India. Currently, He is Sr. Software engineer at InfoStretch Solutions Pvt. Ltd. He has been developing android apps since very 1st version i.e. Android 1.5, he says he has seen days and nights of Android history. He is the Head/Organizer of Google Developers Group (GDG), Ahmedabad

Loading Facebook Comments ...
Loading Disqus Comments ...