I think another solution is to run the three applications under the same
userId. (see 
http://code.google.com/android/devel/security.html#userid)<http://code.google.com/android/devel/security.html#userid>
The advantage is that you are then creating files that are shared only by
your applications. (So I guess the risk of them being deleted/modified by
other applications, such as a user wiping the SD card would be less).

But I guess you knew this already.

Ludwig

2008/10/13 Peli <[EMAIL PROTECTED]>

>
> You could use the sdcard that is accessible by all applications...
>
> Peli
>
> On Oct 13, 10:27 pm, Anshul <[EMAIL PROTECTED]> wrote:
> > Hello everyone,
> >
> > I have three small android applications that read and write data to
> > the same file. Is there a directory on Android file system that is
> > shareable across multiple applications? I tried creating a file in "/
> > system/usr/share" but getting aorent directory nit writable error.
> >
> > I can write a file to one of the application's data directory by
> > calling openFileOutput function and set the mode to
> > MODE_WORLD_READABLE and then read from another application. But, I
> > would like to create the file in a directory that is not specific to
> > any of the three application. Is that possible?
> >
> > Thanks,
> > -AJ
> >
>

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