gpt4 book ai didi

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

转载 作者:太空狗 更新时间:2023-10-29 16:38:15 24 4
gpt4 key购买 nike

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

对于实证分析,我需要一个列表来定义 a) Google Play(对用户)中的权限“警告”属于哪个 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com