Вопрос

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