On Apr 5, 2:20 am, Nikolay Elenkov <[email protected]> wrote:
>
> Nice indeed. To add more unsubstantiated rumours, it appear that there are
> actually environment variables that store the mount point(s) of secondary
> SD cards. Those have been seen in the wild:
>
> EXTERNAL_STORAGE_ALL
> EXTERNAL_STORAGE
> SECOND_VOLUME_STORAGE
> THIRD_VOLUME_STORAGE
>
> System.getenv("EXTERNAL_STORAGE_ALL") returns something like
> this on *some* devices:
>
>  /mnt/sdcard:/mnt/usbdisk:/mnt/ext_card
>
> So you'd have to check all and/or parse /proc/mounts, and
> if you have the magic permission, you might be able to use
> the secondary, etc. SD card.
>
Thank you. I may get desperate enough to try all that. The users
certainly won't come up with the path on their own.


> In short, save yourself the trouble and don't bother :)
>
> Using Dropbox, or Google Drive(?), or whatever will
> give you less headaches.

I'm not sure how that helps developers, and I am not sure I can not
bother.

My customers easily create 8Gig or more of files with my app, so they
care about what volume the app puts files on.

Nathan

-- 
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