App Install Location
Have you ever seen error saying "Application cannot be installed in the default install location" when trying to update apps?
Many devs have nexus devices, and they haven't sd card.
Move to SD card is the feature which is introduced in Android 2.2. (API Level: 8).
Add
Be careful with this option, Not all apps can be moved in SD. Although users may not remove their SD cards frequently, the SD card is unmounted when it’s mounted via USB for use on a computer. This will potentially increase the frequency that the user will have to reconfigure apps that are affected.
You can find further details here.
Many devs have nexus devices, and they haven't sd card.
Move to SD card is the feature which is introduced in Android 2.2. (API Level: 8).
Add
android:installLocation
attribute to manifest tag as follows:
The attribute android:installLocation can have following possible values.....
- internalOnly: The application must be installed on the internal device storage only. If this is set, the application will never be installed on the external storage. If the internal storage is full, then the system will not install the application. This is also the default behavior if you do not define android:installLocation.
- auto: The application may be installed on the external storage, but the system will install the application on the internal storage by default. If the internal storage is full, then the system will install it on the external storage. Once installed, the user can move the application to either internal or external storage through the system settings.
- preferExternal: The application prefers to be installed on the external storage (SD card). There is no guarantee that the system will honor this request. The application might be installed on internal storage if the external media is unavailable or full, or if the application uses the forward-locking mechanism (not supported on external storage). Once installed, the user can move the application to either internal or external storage through the system settings.
Be careful with this option, Not all apps can be moved in SD. Although users may not remove their SD cards frequently, the SD card is unmounted when it’s mounted via USB for use on a computer. This will potentially increase the frequency that the user will have to reconfigure apps that are affected.
You can find further details here.
Comments
Post a Comment