bump...

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

thanks,
Mark


On Dec 19, 7:52 pm, "Dianne Hackborn" <[email protected]> wrote:
> It's there for completeness but very few things I know of use it.  It can be
> useful in some very special situations, such as providing a back-door for
> others to get at some files.
>
>
>
> On Fri, Dec 19, 2008 at 7:08 AM, Mark <[email protected]> wrote:
>
> > 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
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
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