如何启用应用程序移动到SD卡(并支持Android< 2.2仍然)?应用程序、SD、Android、LT

2023-09-06 00:15:09 作者:六个字独特好听昵称

我怎样才能让我的应用程序移动到SD卡中?

How can i enable my app to be moved to the sdcard?

-edited为了使问题更切合给出的答案称号。

-edited the title in order to make question more relevant to the answers given.

推荐答案

您必须设置机器人:INSTALLLOCATION 在AndroidManifest.xml文件(项preferExternal 汽车值都可以)。

You have to set android:installLocation entry in AndroidManifest.xml file (preferExternal or auto values will do).

NB!对于这个版本的目标应该是API等级8(Android 2.2的)。

NB! For this build target should be API Level 8 (Android 2.2).