问题
Can somebody give me an example on how could I use the Firefox for Android content provider for getting a list of the links in my app history?
Thanks!
回答1:
Firefox's ContentProvider is not accessible to third party applications. Here is the permission declaration from the manifest:
<permission android:name="@ANDROID_PACKAGE_NAME@.permissions.BROWSER_PROVIDER"
android:protectionLevel="signature"/>
A protectionLevel of "signature" means that the permission is only available to apps that are signed with the same key. Unless they change this, there's no way for your app to access the ContentProvider.
来源:https://stackoverflow.com/questions/15453587/firefox-for-android-content-provider