How to mount sdcard permanently? [closed]

左心房为你撑大大i 提交于 2019-12-08 13:17:27

问题


Is there any way to write data to a sdcard, when the card is mounted as a disc via USB?

If I unplug it, everything is fine. How do I solve this problem? Anybody ideas or sample code?


回答1:


Android allows only one mount at a time, so if you connect your device via USB and provide the card as a mount for your pc, android unmounts the card from the OS. That behavior cant be changed by an application and shouldnt be changed in the name of the data security.



来源:https://stackoverflow.com/questions/3726332/how-to-mount-sdcard-permanently

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!