【问题标题】:List of android permissions --> how they are declared to user in Google Playandroid 权限列表 --> 如何在 Google Play 中向用户声明
【发布时间】:2014-05-19 22:12:13
【问题描述】:

我不是开发人员,但我需要一些我似乎无法找到的信息。

为了进行实证分析,我需要一个列表来定义 Google Play(对用户)中的 a) 权限“警告”属于哪个 b) 实际权限。

示例: 使用一个应用程序,我检查了几个应用程序的权限并找到了组合:

a) Google Play 在安装时显示 --> b) 应用使用的实际权限

网络通信 --> (group.NETWORK)

完全网络访问--> android.permission.INTERNET

查看网络连接 --> android.permission.ACCESS_NETWORK_STATE

查看 Wi-Fi 连接 --> android.permission.ACCESS_WIFI_STATE

您的帐户 --> (group.ACCOUNTS)

在设备上查找帐户 --> android.permission.GET_ACCOUNTS

在设备上使用账户 --> android.permission.USE_CREDENTIALS

读取 Google 服务配置 -->google.android.providers.gsf.permissions.READ_GSERVICES

我正在寻找一个完整列表,为每个权限(如果存在)连接这两者!所以我不需要在收集数据的过程中下载每个应用程序来使用“权限检查应用程序”进行检查

我已经拥有的是 包含组、威胁级别等的所有权限列表。 https://github.com/android/platform_frameworks_base/blob/master/core/res/AndroidManifest.xml

如果你知道什么,请告诉我 ;) 非常感谢 卢卡

【问题讨论】:

    标签: android google-play android-permissions


    【解决方案1】:

    我已经拥有的是包含组、威胁级别等的所有权限的列表。 https://github.com/android/platform_frameworks_base/blob/master/core/res/AndroidManifest.xml

    您要查找的值是android:label 属性的相应字符串资源。

    例如,ACCESS_NETWORK_STATE 定义为:

    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
        android:permissionGroup="android.permission-group.NETWORK"
        android:protectionLevel="normal"
        android:description="@string/permdesc_accessNetworkState"
        android:label="@string/permlab_accessNetworkState" />
    

    @string/permlab_accessNetworkState 的值是为English 定义的:

    <string name="permlab_accessNetworkState">view network connections</string>
    

    【讨论】:

      【解决方案2】:

      看这里http://developer.android.com/reference/android/Manifest.permission.html

      它来自谷歌,所以他们应该在那里拥有一切

      【讨论】:

      • 是的,我知道列表,但它并没有包含我在安装过程中显示的内容。
      猜你喜欢
      • 2019-06-30
      • 2019-08-10
      • 2012-07-31
      • 2017-11-02
      • 2022-01-23
      • 1970-01-01
      • 2018-04-17
      • 2019-06-22
      • 1970-01-01
      相关资源
      最近更新 更多