Android版Firefox内容提供商? [英] Firefox for Android content provider?

查看:148
本文介绍了Android版Firefox内容提供商?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以给我我怎么可以使用Android版Firefox内容提供商获取我的应用程序历史上的链接的列表的例子吗?

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的的ContentProvider 不向第三方应用程序访问。下面是从<一个许可声明href=\"https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AndroidManifest.xml.in#375\">manifest:

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 签名意味着许可只适用于那些具有相同签名的软件键。除非他们改变这种情况,有没有办法为你的应用访问的ContentProvider

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.

这篇关于Android版Firefox内容提供商?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆