Firefox for Android content provider?

我只是一个虾纸丫 提交于 2019-12-08 02:30:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!