Android:mount unmount and format sdcard

帅比萌擦擦* 提交于 2020-01-17 00:38:08

问题


Is there any possibility given in Android Icecream-sandwich to programatically format,mount and unmount sdcard ?


回答1:


Related API's are in com.androidserver.MountService (it's not new), but this class is hidden and not available for SDK applications. In theory, you can get the MOUNT_FORMAT_FILESYSTEMS permission (it is not a system permission), but you cannot use it since the API's are not public.



来源:https://stackoverflow.com/questions/8630976/androidmount-unmount-and-format-sdcard

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