移动应用程序到SD卡

问题描述:

在用最小的SDK 3(安卓1.5)一些应用程序,我可以移动应用程序到SD卡从我的Desire HD的。(安卓2.2)如何使编程可能性,移动应用程序到SD卡所需的Andr​​oid 1.5及更高版本。

In some apps with min sdk 3 (Android 1.5), I can move application to SD card from my Desire HD.(Android 2.2) How to make it programmatically possibility to move application to SD card with Requires Android 1.5 and up.

添加机器人:INSTALLLOCATION =自动的属性在你的manifest.xml的标签

Add android:installLocation="auto" attribute in the tag of your manifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mycompany.myapp" android:installLocation="auto"
android:versionCode="2" android:versionName="1.2">

这将使移动到SD卡按钮,您的应用程序。

it will enable the Move to SD card button for your application.