How to enable app being moved to sdcard (and support android < 2.2 still)?

后端 未结 4 719
鱼传尺愫
鱼传尺愫 2021-02-13 15:03

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

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

4条回答
  •  情书的邮戳
    2021-02-13 15:57

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

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

提交回复
热议问题