jeudi 23 février 2017

Programatically mount/unmount external SD card in Android

I'm developing a system application (located in /system/app) with root privileges in Android 5.0.

I'd like to mount/unmount the external SD Card as the system does when user clicks over mount/unmount in Settings/Storage.

I've trying a few things like adb shell commands and reflection but I' haven't been able to make it work.





Aucun commentaire:

Enregistrer un commentaire