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. Disable AppWidgetProvider class of my App

Hi Folks,
I have created a widget that depends on the information passed by another
application.

I have to disable the widget provider such that there is not option to add
the widget from the menu.

and i have to enable to show in the options to add from the widgets menu at
run time.

(I would get an intent when the other app gets disabled).

So what do i do in my broadcast receiver.

Can anyone guide me to implement this..

Regards,
Manjunatha

--~--~---------~--~----~------------~-------~--~----~

2. Bestpractise Arabic support in applications?

Hello,

1.5sdk actually doesn't support the Arabic (i18n).
What is actually the bestpractise to include Arabic in a new
application or prepare the future for it ?

I have two scenario that I would to satisfy:

1. auto language by using the phone settings describe there :
http://developer.android.com/guide/topics/resources/resources-i18n.html
drawable-ar/
values-ar/
...
Is it the right way for arabic support ?

2. include support in an application by allowing direct language
switching in the application
like with link : English | Franais | Deutsch  | Italiano | Espaol |
Portugus | |  |  |  ...

Direct language switching is currently not supported. (only auto
language by using phone settings).
Right ? GLOBAL QUESTION FOR EVERY LANGUAGE : Does anybody have a
solution?



I found the following information :
https://sites.google.com/a/ut.utm.edu/arabic-android/downloads
But, forcing the user to change their rom is currently not a solution
I can expect.
Any suggestions ? Experiences ?

Thank you for your help,



--~--~---------~--~----~------------~-------~--~----~

3. Tree of parcelables: Class not found when unmarshalling

4. FileSystem Components for PXA27x

5. IOException on Camera.autoFocus

6. computeverticalscroll

7. Service can't create Intent.ACTION_SEND