How to mount the microSD disk programmatically?

by telematics » Fri, 06 Mar 2009 10:15:05 GMT


Sponsored Links
 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.
Moderators, please post it, or if you know this has already been
answered before, please provide me a link.

I want to know how my application can mount the microSD disk as the
USB mass storage upon receiving UMS_CONNECTED.

Thank you in advance.
--~--~---------~--~----~------------~-------~--~----~



How to mount the microSD disk programmatically?

by Mark Murphy » Fri, 06 Mar 2009 10:21:07 GMT


 


You mean like these two?



Sponsored Links


How to mount the microSD disk programmatically?

by telematics » Fri, 06 Mar 2009 11:28:48 GMT


 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?






> 



How to mount the microSD disk programmatically?

by telematics » Fri, 06 Mar 2009 15:26:26 GMT


 Thank you for the clarification. One more question, the older version
of Android firmware has the "Use for USB Mass Storage" option in the
Settings screen, and I saw android.provider.Settings.System has a
property named USB_MASS_STORAGE_ENABLED, if I set this property, is it
equivalent to the old "Use for USB Mass Storage" option? If not, is
there any plan to add this old option back in the future firmware
release?







> >



Other Threads

1. Question regarding Message object

Hi All,
I have a question regarding Message object. In handleMessage  (Message
msg) of Handler class we get Message Object.
Till now i have seen only code like
            switch (msg.what)
                        {
                case 1:
                                ------
                        }
 I want to know about msg.obj.e.g

 String name = null;
  switch (msg.what)
                        {
                case 1:
                        name= (String) msg.obj;
                                                ---
                        }
so my question is how and where we can set String object in Message
Object.

Thanks,
Sohan Badaya


-- 

2. audio buffer problem in cupcake

hi all,
i have ported gstreamer to cupcake and when i am playing an mp3 file i am
getting breaks in audio.

and my logact
is like this

W/AudioFlinger( 25): write blocked for 48 msecs
W/AudioTrack( 25): obtainBuffer timed out (is the CPU pegged?)
user=0001c100,
server=0001c000
W/AudioTrack( 25): *** SERIOUS WARNING *** obtainBuffer() timed out but
didn't
need to be locked. We recovered, but this shouldn't happen (user=0001c100,
serv
er=0001c001)
W/AudioFlinger( 25): write blocked for 46 msecs
W/AudioFlinger( 25): write blocked for 50 msecs
W/AudioFlinger( 25): write blocked for 52 msecs
W/AudioFlinger( 25): write blocked for 51 msecs
W/AudioFlinger( 25): write blocked for 47 msecs


Can someone help me to solve this ...


Thanks,
Bujji

-- 

3. Android Market Licensing intermittently fails

4. what is internalResolveIntent ?

5. Using newer wallpaer them on older Android version

6. RTSP Video Performance

7. Protecting Apps - listening for application launches