I am developing an android app that will automatically mount the SD as
the USB mass storage when the G1 phone is connected to a PC via USB,
and automatically umount it when the USB is disconnected. I know to
how to create a broadcast receiver to receive  UMS_CONNECTED and
UMS_DISCONNECTED broadcast intents, but I don't know whic API I should
use to mount/umount the SD. Is there anyone can help me on this?

Thank you in advance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to