[android-developers] Find storage directories?

2011-03-30 Thread Nathan
Some user would like to choose which of their many storage cards my
app puts data on. IE internal vs external storage cards.

I'd like to help them do this without screwing up. I don't think most
users will be advanced enough to type in the linux path.

GetExternalStorageDirectory will give you one storage. It's what I'm
using now and will give you the internal storage card or the external
storage card, depending on the device. Is there a good way to query
for more storage locations?

So far I think the answer is no.

Nathan

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


Re: [android-developers] Find storage directories?

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 1:39 PM, Nathan critter...@crittermap.com wrote:
 Some user would like to choose which of their many storage cards my
 app puts data on. IE internal vs external storage cards.

 I'd like to help them do this without screwing up. I don't think most
 users will be advanced enough to type in the linux path.

 GetExternalStorageDirectory will give you one storage. It's what I'm
 using now and will give you the internal storage card or the external
 storage card, depending on the device. Is there a good way to query
 for more storage locations?

 So far I think the answer is no.

The answer is no -- no other storage locations are part of the SDK,
and you have no idea if they are usable, even if you find them.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version
1.9.2 Available!

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