The mount point is there but android docs emphasize that external storage can not be regarded as always available. If you remove the sdcard, accesses to that directory throws mad errors. It is generally unwise to have app application depend on resources which may not be available.
There is an api method at the java level to flag when it is available to avoid that scenario. We can certainly browse to the SD card in file open/save-as dialogs. What do other 'similar' apps do, like third-party text editors? Those that I have looked at seem to use a similar strategy to mine, although some have solved the permission/visibility issue better than I have, so far. Does anyone have an app that treats user files in a more accessible manner that they would like to share? - michael On Sat, Mar 24, 2012 at 1:33 PM, William Tanksley, Jr <wtanksle...@gmail.com> wrote: >> I can't count on a given device having an sdcard and, as it is >> removable media, should not be relied upon in any case. I have been > > Is it really the case that some devices don't have a /sdcard > mountpoint, though, even the ones that don't have SD hardware? (I > don't know, I find it hard to believe. Even given the lack of an SD > card, you'd think they'd provide that mount point to maintain > compatibility with the huge number of apps that use the SD card, not > to mention to maintain the possibility of copying files to and from > the device.) > > As a bonus of using that, you can an easy way of copying files from > the PC to the device, and also an easy, fully compatible way of > sharing files between apps (since files on the SD aren't protected). > > The benefits seem SO far beyond the possible costs... > > -Wm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- - michael dykman - mdyk...@gmail.com May the Source be with you. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm