有人可以举例说明如何使用Firefox for Android内容提供商获取应用历史记录中的链接列表?
谢谢!
答案 0 :(得分:6)
第三方应用程序无法访问Firefox的ContentProvider
。以下是manifest的许可声明:
<permission android:name="@ANDROID_PACKAGE_NAME@.permissions.BROWSER_PROVIDER"
android:protectionLevel="signature"/>
protectionLevel
"signature"
表示该权限仅适用于使用相同密钥签名的应用。除非他们更改此设置,否则您的应用无法访问ContentProvider
。