On Sun, Jun 17, 2012 at 9:49 AM, Chris Stratton <cs07...@gmail.com> wrote:
>> There is no "preferred directory", insofar as the "preferred
>> directory" concept implies that the user has access to the files, and
>> they don't have access to internal storage except via your app (or
>> except via rooting their phone).
>
> As I've pointed out to you recently on another occasion, this is not
> quite true.  The ability to access files in the private storage area
> from another app is controlled by the access mode settings on those
> files, which is something the owning application can choose.

:: sigh ::

Yes, it is possible to use MODE_WORLD_READABLE and
MODE_WORLD_WRITABLE. I do not recommend it.

In the context of this specific answer, the fact that
MODE_WORLD_READABLE and MODE_WORLD_WRITABLE exist is irrelevant to the
point that I was making in the paragraph you quoted above. The concept
of a "preferred directory" presumes direct user access to browse the
files, and that is not supported for internal storage, regardless of
mode of any individual file. There is nothing on-board a stock Android
firmware to allow users to browse internal storage as a directory
structure, internal storage does not show up when you plug the device
into a host machine via a USB cable, etc.

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

Android Training in DC: http://marakana.com/training/android/

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

Reply via email to