How about use "permission" in your AndroidManifest.xml to impl. it?

<uses-permission
android:name="android.permission.ACCESS_TEST_PROVIDER" />
...
<provider android:name=".TestProvider" ...
android:permission="android.permission.ACCESS_TEST_PROVIDER"/>


android:permission="android.permission.ACCESS_BLUETOOTH_SHARE"/>
On Apr 3, 9:34 am, "[email protected]"
<[email protected]> wrote:
> I have multiple applications which use the same ContentProvider code
> for internal WebView to access local files (application private).
> Because the ContentProvider has the same code base (package name,
> content uri), this will cause problem when deployed 2 or more of my
> application in the same device? How do I make the contentProvider only
> accessible by its application and prefer a solution without code
> changes.
>
> Thanks,
> David

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