Android控制应用程序安装位置
2015-04-15 09:49
281 查看
Android控制应用程序安装位置
Android应用程序的默认安装位置以及是否可移动取决于开发者在其AndroidManifest.xml中的设置:
android:installLocation的值有三个 internalOnly ,auto,preferExternal,缺省值为internalOnly
internalOnly:该应用程序只能安装到手机内部存储中。
auto:由系统决定该应用程序安装到手机内部存储中还是SD卡中。
preferExternal:如果有SD卡就把该应用程序只能安装到SD卡中,否则安装到手机内部存储中。
当android:installLocation为internalOnly时,用户在"应用程序管理"中不能把应用程序在SD卡与内存中相互移动
android:installLocation为auto或preferExternal时,用户在"应用程序管理"中可以把应用程序在SD卡与内存中相互移动
Android应用程序的默认安装位置以及是否可移动取决于开发者在其AndroidManifest.xml中的设置:
<manifestxmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:installLocation="auto" android:versionName="1.0">
android:installLocation的值有三个 internalOnly ,auto,preferExternal,缺省值为internalOnly
internalOnly:该应用程序只能安装到手机内部存储中。
auto:由系统决定该应用程序安装到手机内部存储中还是SD卡中。
preferExternal:如果有SD卡就把该应用程序只能安装到SD卡中,否则安装到手机内部存储中。
当android:installLocation为internalOnly时,用户在"应用程序管理"中不能把应用程序在SD卡与内存中相互移动
android:installLocation为auto或preferExternal时,用户在"应用程序管理"中可以把应用程序在SD卡与内存中相互移动
相关文章推荐
- Android 2.2 设置应用程序安装位置
- android应用程序的安装位置
- android如何确认一个应用程序的安装位置
- android修改应用程序默认安装位置和可以选择安装位置
- Android应用程序的安装位置(转)
- Android应用程序的安装位置(一)
- Android应用程序的安装位置(二)
- android应用程序安装位置分析
- android如何确认一个应用程序的安装位置
- android应用程序安装位置android:installLocation翻译
- android应用程序安装位置分析
- Android应用程序的安装位置(一)
- Android应用程序的安装位置(二)
- 控制android程序的安装位置
- android应用程序的安装位置
- Android应用程序的安装位置
- Android应用程序的安装位置
- 开发者如何控制Android App的安装位置
- android之应用程序安装位置application install location
- android之应用程序安装位置application install location