Android权限之间的映射(即我们在manisfest文件中定义),以相应的API调用/方法 [英] Mapping between Android permissions (that we define in the manisfest file ) to corresponding API calls /methods
问题描述
我在哪里可以找到Android权限的映射(即我们在manisfest文件中定义),以相应的API调用/方法?
Where can I find the mapping between Android permissions (that we define in the manisfest file ) to corresponding API calls /methods?
例如
GET-ACCOUNTS" is a permission type which maps to
getAccountsByType(), getDeviceId(), and getLine1Number().
同样地,我想知道,如果我使用权限互联网,ACCESS_COARSE_LOCATION,ACCESS_WIFI_STATE等。
然后,所有的方法/ API调用
映射到了吗?
Similarly I want to know, If I use permission Internet,ACCESS_COARSE_LOCATION,ACCESS_WIFI_STATE etc..
Then which all methods/API calls
map to it?
请让我知道我在哪里可以找到这些信息。下面的链接列出了许可 <一href="http://developer.android.com/reference/android/Manifest.permission.html">http://developer.android.com/reference/android/Manifest.permission.html
Please let me know where can I find this information. Below link lists the permission http://developer.android.com/reference/android/Manifest.permission.html
但无法找到映射。
如果这不是正确的论坛张贴这一点,那么请让我知道我应该在哪里张贴此?
If this is not the right forum to post this , Then please let me know where should I post this?
推荐答案
映射是不提供的谷歌,但有两个主要的调查研究已尝试恢复此信息。
The mapping is not provided by Google, but two major research studies have been attempted to recover this information.
使用动态分析技术来挖掘从Android 2.2的映射中的第一项研究是所做伯克利分校。他们创造了一个在线工具,你可以提交你的应用程序进行一些分析。
The first study was by done Berkeley using a dynamic analysis technique to mine the mapping from Android 2.2. They created an online tool where you can submit your app for some analysis.
第二项研究是由多伦多大学完成的。他们使用了一种静态的分析方法,从机器人(2.2.3,2.3.6,3.2.2,4.0.1,4.1.1和)几重presentative版本开采映射。
The second study was done by the University of Toronto. They used a static analysis approach to mine the mappings from a few representative versions of Android (2.2.3, 2.3.6, 3.2.2, 4.0.1, and 4.1.1).
这两种工具都有一些注意事项的文章,因此产生的映射并不完美的讨论,但有总比没有好。
Both of these tools have some caveats as discussed by the papers and as a result the mappings produced are not perfect, but it is better than nothing.
链接:伯克利偷渡工具(工具似乎是永久离线,作者现在推荐使用PScout结果分析)
Link: Berkeley Stowaway Tool (tool appears to be permanently offline now, and the authors now recommend using PScout results for analysis)
链接:多伦多皮(PScout:分析了Android权限规格)
链接:多伦多PScout工具
这篇关于Android权限之间的映射(即我们在manisfest文件中定义),以相应的API调用/方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!