Sunday, March 4, 2012

Re: [android-developers] Re: Approved/recommended/best way to write to GENUINE external storage

Hi,

Thanks for the reply; my problem with this approach is that presenting
most users with a list consisting of:

/mnt/sdcard
/mnt/sdcard2

or some permutation thereof is not exactly friendly, and would lead to
them probably wanting to as 'what is stored on X, if you tell me that, I
can tell you if it's the one...'. Which is a whole new rabbit burrow,
potentially replicated in every app that just wants a
getRemovableStorage() api call.

That's probably it: can anyone think how to write:

getRemovableStorage() - Returns a list of removable storage devices
connected to this device.

?


On 4/03/2012 3:11 AM, Chris Stratton wrote:
>
> Reading /proc/mounts and discarding anything obviously ineligible
> would produce a list...
> ...You could use some combination of presenting the resulting list to
> the user...

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate