On 8 February 2011 16:41, maikelalonso <[email protected]> wrote: > Hi: > > Anyone know how to mount the sdcard from code? I umount this storage > from menu->settings->umount sd card and I want to mount it from an > androd application. I can get the state with getExternalStorageState > and the path to the mounted sdcard folder but I dont know if it's > possible to mount the device from java code.
Mount requires certain privileges your app simply does not have unless you got rooted device (and grant yourself root rights) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

