Hi Vincent,

Do you mean you want to prevent other applications to access to your
ContentProvider except for your own applications? Can't say that I
understand your question 100%. So I apologize if I am not answering
your question correctly.

You can probably declare your own permission in the
AndroidManifest.xml and set the "protectionLevel" attribute to
"signature". And set the read and write permission in your <provider>
tag to use the permission that you have declared. You app that needs
access to the ContentProvider however will need to declare that is
uses that permission as well in the AndroidManifest.xml.

You can find out more info here 
http://developer.android.com/guide/topics/security/security.html.

Makas

On Mar 15, 10:25 pm, Vincent Tsao <[email protected]> wrote:
> hi there, how should i use content provider without share app data between
> other app?

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