Certainly almost all android phone/tabel contain enough internal ram making sdcard optional. I guess it is easy to access ~user folder under JHS. However I use jconsole not jhs, os I need to browse and open and edits files using terminal or file managers. If it can ship a profilex.ijs with r/w permission and dummy content such as,
NB. profilex.ijs NB. user=. '/sdcard/data/j' NB. break=. user,'/break' NB. snap=. user,'/snap' NB. temp=. user,'/temp' NB. config=. user,'/config' Then one can uncomment lines to make ~user and ~temp more easily accessible. creating profilex.ijs from its template is possible but involves many steps and a superuser account. Сбт, 24 Мар 2012, Michael Dykman писал(а): > 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 -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm