Hi Mark,
See C:\android-sdk-windows\platforms\android-2.0.1\samples\NotePad
for an example of using a ContentProvider. To allow the provider to
be used by other applications, just set "Exported" to true for the
provider in the manifest.
You can also set permissions for the provider to limit access to
it, but I haven't had a need for that yet, so haven't bothered to
learn it.
Good luck!
Steve
On Mar 21, 6:42 pm, Mark X <[email protected]> wrote:
> Hello,
>
> I have tried to figure out a way of exposing(sharing) data between a master
> application and slave application in a secure way (not world readable), but
> couldn't find clues on how to do that practically. Of course, reading
> articles outline that ContentProviders are for sharing persistent data, but
> I can't find a working example, nor the information how to setup/implement
> two working piece of software that can work together as different apps.
>
> The data I share is simple - ID & Data.
>
> If there's anyone that already achieved this already, I'm all ears!
>
> Any ideas are welcome!
>
> 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
To unsubscribe from this group, send email to
android-developers+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.