简体   繁体   中英

how to move the application from phone memory to sd card in android

在我的应用程序中,我有一个设置选项卡,通过按下该按钮,我可以像“ move to sdcard”一样移动按钮,应用程序应该移动到手机内存到SD卡,如果有可能从代码移动应用程序。

You can allow your app to be moved to the SD card by changing the "installLocation" attribute in your manifest file to "preferExternal" or "auto". You can read more about it here: http://developer.android.com/guide/appendix/install-location.html

Then the user can choose to move your app via the Settings app and you don't have to specify it in your own settings tab.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM