简体   繁体   English

Firefox for Android内容提供商?

[英]Firefox for Android content provider?

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? 有人可以举一个例子说明我如何使用Firefox for Android内容提供程序获取我的应用历史记录中的链接列表吗?

Thanks! 谢谢!

Firefox's ContentProvider is not accessible to third party applications. 第三方应用程序无法访问Firefox的ContentProvider 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. protectionLevel"signature"意味着该权限仅适用于使用相同密钥签名的应用。 Unless they change this, there's no way for your app to access the ContentProvider . 除非他们更改此设置,否则您的应用无法访问ContentProvider

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM