It's not an application doing it, it's the system itself.  So sorry, there
is no API for it at this point.

On Thu, Mar 5, 2009 at 7:28 PM, telematics <hai.huan...@gmail.com> wrote:

>
> When I plug the T-mobile G1 phone into the PC via USB, it will give me
> a notification "USB Connected", then I can go to the notification
> screen to "mount" the SD. So, if this native Android app can do this,
> I assume there should be an "unpublished" API for 3rd party apps to do
> the same thing. Am I wrong?
>
>
> On Mar 5, 8:20 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> > telematics wrote:
> > > I am a new member of this group, and have tried to post this question
> > > twice already and have not seen my post on this forum for a day now.
> >
> > You mean like these two?
> >
> >
> http://groups.google.com/group/android-developers/browse_thread/threa...http://groups.google.com/group/android-developers/browse_thread/threa.
> ..
> >
> > > Moderators, please post it, or if you know this has already been
> > > answered before, please provide me a link.
> >
> > I am not a moderator, but see above.
> >
> > > I want to know how my application can mount the microSD disk as the
> > > USB mass storage upon receiving UMS_CONNECTED.
> >
> > Based on your other posts, I suspect what you want to do is not possible
> > without modifications to the firmware.
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
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