I have an issue with writing on external SD...

Writing on the external SD as Google puts it is not difficult 
with Environment.getExternalStorageDirectory().
However I want to make a difference for my users so they can choose to 
either backup their data to the 'on device' external memory and the 'SD 
Card' the user put in the device (if any).

If both are available the Environment.getExternalStorageDirectory() method 
always gives me the SD memory build in the device.
If only the SD-card is present I have the SD-card reference.
Currently I solved it by letting the user manually enter the location URI 
of the SD-card, but that's not user-friendly at all so I'dd rather have a 
way to just let them choose between 'On device storage' and 'SD-card 
storage' and let me retrieve the URI myself...

Is there a clean way (or maybe a library) to do so?

Kr,

Dirk

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

Reply via email to