如何把应用安装到sd卡中
程序员文章站
2022-05-23 09:06:11
...
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yfz"
android:installLocation="auto"
android:versionCode="1"
android:versionName="1.0">
这个属性设置的是默认安装位置, 共有三个有效值,auto、internalOnly、preferExternal。
auto 表示自动,由系统决定安装位置
internalOnly 安装在手机内存
preferExternal 安装在外部存储中
package="com.yfz"
android:installLocation="auto"
android:versionCode="1"
android:versionName="1.0">
这个属性设置的是默认安装位置, 共有三个有效值,auto、internalOnly、preferExternal。
auto 表示自动,由系统决定安装位置
internalOnly 安装在手机内存
preferExternal 安装在外部存储中
上一篇: Android 修改 AndroidManifest package
下一篇: 再议Android2.2应用完全退出 applicationactivitymanifestandroid2android
推荐阅读