如何在设备的外部存储上安装应用程序。我们需要在android的manifest文件中写入哪些参数
添加这一行
android:installLocation="preferExternal"
在您的清单中作为
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="preferExternal"
>
如果你声明"preferExternal",你请求你的应用程序安装在外部存储上,但是系统不保证你的应用程序将被安装在外部存储上。如果外部存储空间已满,系统会将其安装到内部存储空间。
更多信息请参见http://developer.android.com/guide/topics/data/install-location.html
在应用程序清单文件中添加installlocation属性。
android: installLocation = " preferExternal "