我在哪里可以得到Android权限列表 [英] Where can I get a list of Android permissions

查看:148
本文介绍了我在哪里可以得到Android权限列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图得到有效的Andr​​oid权限列表。我知道了官方的人在<一个href="http://developer.android.com/reference/android/Manifest.permission.html">http://developer.android.com/reference/android/Manifest.permission.html但似乎有更多的在那里。

I'm trying to get a list of valid Android permissions. I know the 'official' ones at http://developer.android.com/reference/android/Manifest.permission.html but it seems there are more out there.

例如

android.permission.READ_SETTINGS
android.permission.ACCESS_LOCATION
android.permission.ACCESS_GPS

com.android.vending.CHECK_LICENSE

com.android.browser.permission.READ_HISTORY_BOOKMARKS
com.android.browser.permission.WRITE_HISTORY_BOOKMARKS

com.google.android.googleapps.permission.GOOGLE_AUTH
com.google.android.googleapps.permission.GOOGLE_AUTH.OTHER_SERVICES

com.google.android.c2dm.permission.RECEIVE

我在哪里可以得到这样的名单?从哪里获得这些权限的说明?

Where can I get such a list? Where do I get a description for these permissions?

推荐答案

有没有这样的东西作为一个COM prehensive名单的所有权限。新的权限可以由希望执行它自己的应用程序中定义:<一href="http://developer.android.com/intl/de/guide/topics/security/security.html#declaring">http://developer.android.com/intl/de/guide/topics/security/security.html#declaring.

There is no such thing as a comprehensive "list" for all permissions. New permissions can be defined by any application that wants to enforce its own: http://developer.android.com/intl/de/guide/topics/security/security.html#declaring.

Manifest.permission 类列出了系统的权限,你就已经知道这些的。你列出的其他东西都没有系统权限,而是针对特定的应用程序,以及或有旧名称(ACCESS_LOCATION和ACCESS_GPS为pre 1.0名,例如)。

The Manifest.permission class lists the "system" permissions, and you're already aware of those. The other things you've listed aren't system permissions, but rather are specific to certain apps, and or are old names (ACCESS_LOCATION and ACCESS_GPS were pre 1.0 names, for example).

一个grep的东西像&LT;许可安卓名= 源将显示所有包含应用程序的权限(为开源应用程序),但总体上在您要坚持记录的权限名称。

A grep for something like <permission android:name= in the source would reveal all the included app permissions (for the open source apps), but in general you should stick to the documented permission names.

这篇关于我在哪里可以得到Android权限列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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