App Installation Location statement

Source: Internet
Author: User

Androidmanifest.xml

<manifest xmlns:android= "Http://schemas.android.com/apk/res/android"
Package= "App3.myapplication" android:installlocation= "Auto">

Android:installlocation=["Auto""internalonly" "preferexternal">
Auto: The program may be installed on external storage media (e.g. SD Card), but it will be installed to the phone memory by default. When the phone memory is empty, the program will be installed on the external storage media. When the program is installed on the phone, the user can decide whether to place the program in an external storage medium or in memory.
Internalonly: Default value. When set to this value, the program can only be installed in memory, and if the memory is empty, the program will not install successfully.
Preferexternal: The program is installed on the external storage media, but the system does not guarantee that the program will be installed on the external storage media. When external storage media is not available or empty, the program is installed into memory. The program is also installed into memory when it uses the for ward-locking mechanism , because external storage does not support this mechanism. After the program is installed, the user is free to switch whether the program should be on external or internal storage media.
Note: When the program uses the Copy protection feature of Google Play, it can only be installed in memory.
When the program is installed on an external storage medium,
The ①.apk file will be moved to the external storage media, but the program's data will still be in memory
② the container where the. apk file is saved will be encrypted with a randomly generated key, so that only the settings for that program can use the data that exists on the external storage media.
Warning: When external storage media is uninstalled, programs installed on that external storage media will be terminated immediately!

App Installation Location statement

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.