The Context provides openFileInput/openFileOutput and also defines the
following as parameters to these methods

MODE_WORLD_READABLE
MODE_WORLD_WRITEABLE


However, everything I read states that files in Android are private to
the application and if file data is to be shared you HAVE to use
ContentProviders to share the data across applications.

So what is the intent of the MODE_WORLD_READABLE/MODE_WORLD_WRITABLE
values?  Is this a future thing that has not been completed yet?  The
reason I ask is I am trying to solve the problem of having two
applications that I am writing read and write to the same data whether
it be preferences or content.  The idea of a Context Provider is fine,
but it implies that a separate app would already be installed that
provides the Content Provider to my applications (which is not the
case). and I would like to not duplicate code and effort across my
applications.

How do I implement the concept of a central repository for my
applications without forcing the install or a separate repository app
to supply the Content Providers?

thanks,
Mark
--~--~---------~--~----~------------~-------~--~----~
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