Thanks for that info Dianne. It looks like I need the 
android:protectionLevel="signature" configuration, however I can't get it 
working.

Here is my manifest containing my content provider:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"; 
package="com.cpexample">
    <permission android:name="some.name.permission" 
android:label="@string/cp_permission_label"
                android:description="@string/cp_permission_desc" 
android:protectionLevel="signature"/>
    <application android:label="@string/app_name" 
android:icon="@drawable/icon">
            <provider android:name=".Provider" 
android:authorities="com.cpexample.Provider"/>
    </application>
</manifest>


I used eclipse to Export Signed Application of the content provider using a 
brand new keystore. I have another app signed with another keystore. I 
didn't expect the second app to be able to access the content provider, yet 
it has no problem accessing it. Have I misunderstood something?


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