i saw that, however it looks like openFileOutput() does not support a
directory hierarchy --

    "name    The name of the file to open; can not contain path
separators."

So, can I use getFilesDir() to find out where that path is, and then
use the standard java routines to read and write files in a directory
hierarchy?

tia.

On Sep 2, 3:56 pm, "Mark Murphy" <[email protected]> wrote:
> > I could write to the sdcard (/sdcard/file.tmp) and other apps could
> > access these files, right?
>
> Correct.
>
> > I would like some local storage that I can write files to (and read
> > from later) that are not accessible to other applications, and I will
> > always have access to.
>
> openFileOutput() and getFilesDir() will handle that, if your files are
> fairly small. That stores them in an app-private directory on the on-board
> flash.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html
--~--~---------~--~----~------------~-------~--~----~
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