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. Spawning dialogs in ActivityUnitTestCase fails

Hi,

we're running into an issue here where in a unit test for an activity,
we test a dialog that's part of the activity. However, as soon as
control flow reaches the call to Dialog.show, the test case crashes
with an exception:

Test run failed: android.view.WindowManager$BadTokenException

the activity window seems to be valid, and clicking buttons and
everything works fine. Are dialog interactions generally not possible
in ActivityUnitTestCase? Why?

Thanks a lot,
-Matthias

-- 

2. WTRequest Sensor @ Galaxy Tab

As subject, ane lagi butuh file : "sensors.deafult.so"
Yang ada di folder /system/lib/hw/
Dari firmware berapa aja terserah, jgn lupa tulis versi firmwarenya y...
Thanks b4

"Sent From Black 'n White Tab"
4Square/Fb/Gtalk : ali.sut...@gmail.com
Follow Me : http://twitter.com/__ryuzaki__

"Need Paid App 'n Game + Resource, Offline Map, Firmware 4 Galaxy Tab
Without Downloads?"
http://dvdgtab.tk

-- 
===============

3. Instagram Rilis API - Siap Untuk Android?

4. 9 Alasan Motorola Xoom Terlalu Mahal

5. Camera device drivers available on Android 2.1 è„¡clair source code

6. Test Performance Nand vs SD CArd

7. Undangan Gathering Android Community (ID-Android dan Optimus One Community) by LG Mobile Indonesia