首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

怎么把应用安装到sd卡中

2012-07-18 
如何把应用安装到sd卡中manifest xmlns:androidhttp://schemas.android.com/apk/res/androidpackage

如何把应用安装到sd卡中
<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 安装在外部存储中

热点排行