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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top