android - Android 权限列表 --> 如何在 Google Play 中向用户声明它们

标签 android google-play android-permissions

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

为了进行实证分析,我需要一个列表,定义 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

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

最佳答案

What i already have is the list of all permissions with group, threat level and so on. 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>

关于android - Android 权限列表 --> 如何在 Google Play 中向用户声明它们,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22916299/

相关文章:

android - android 中的 java.lang.NoSuchMethodError : java. lang.System.arraycopy([CI[CII)V 错误

android - 如何在没有 root 的情况下使用 adb 授予权限?

android - 谁将在Android中调用 “Visualizer_process”

android - ionic 闪屏尺寸

android - 阿拉伯语的 Google.Play 网络界面 hl 参数

android - 有没有办法更改 Google Play 应用程序商店中应用程序的名称?

Android 6.0权限及挂载OBB

java - 尝试在 Android 中将文件写入 sdcard 时出现 FileNotFoundException(权限被拒绝)

android - -phonegap- Icomatic Topcoat 图标在 Chrome 中呈现,但在 Android 中不呈现

android - 如何使 android 应用程序可用于平板电脑和 pre 11 sdk?