android - 为什么Android的一些权限在原来的Android Developers页面中没有列出?

标签 android permissions android-manifest apk deprecated

ACCESS_COARSE_LOCATIONACCESS_COARSE Android 权限有什么区别?

ACCESS_COARSE_LOCATION 可以在 Android developers page 中找到, ACCESS_COARSE 是否不在此列表中。

我发现很多应用程序都在使用它,例如3D Compass . 我运行 androguard检查这个应用程序的权限,我在里面找到了这个:

<uses-permission android:name="android.permission.ACCESS_COARSE">

它是 ACCESS_COARSE_LOCATION 的缩写吗?为什么在权限为here的Android官方页面中没有?

此外,我还看到了其他几个不在此列表中的权限,例如: WRITE_OWNER_DATAREAD_OWNER_DATA,...

为什么会这样?这些许可是否已弃用,或者不是官方许可?

最佳答案

What is the difference between the ACCESS_COARSE_LOCATION and ACCESS_COARSE Android permission?

没有ACCESS_COARSE Android 中的权限。你可以通过查看 at the source code 来判断.

The ACCESS_COARSE_LOCATION can be found in the Android developers page, whether the ACCESS_COARSE is not in this list.

因为 ACCESS_COARSE不存在。

I have found many applications that use it e.g. 3D Compass.

他们可能会要求。他们不使用它,因为它不存在。

I run the androguard to inspect the permissions of this application and I found this one inside:

大概是该应用程序的作者犯了一个错误。

Is it an abbreviation of the ACCESS_COARSE_LOCATION?

没有。

Why is it not in the official Android page with the permissions here?

因为它不存在。

Moreover I have see several other permissions not in this list such as: WRITE_OWNER_DATA, READ_OWNER_DATA

Those were removed from the SDK in API Level 9.

Why does it happen?

你可以有任何 <uses-permission>你想要的元素。如果您请求的内容不存在,您将无法获得。

ok, so why does the mentioned app request this permissions if it cannot use it?

大概是因为他们用来编写应用程序的数百万只猴子把它放在那里了。这是不使用猴子(特别准备的测试猴子和猴子运行者除外)进行 Android 应用程序开发的众多原因之一。

关于android - 为什么Android的一些权限在原来的Android Developers页面中没有列出?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10316765/

相关文章:

file - 通过添加竞争条件来停止竞争条件?

Android 应用程序在请求权限之前崩溃

android - Android Java 应用程序中的实例计数违规

android - 我可以更改 Android Studio 中的默认布局吗?

android - v21 中的滑入/滑出 fragment 动画无法正常工作

java - 如何从android发布表单数据?

java - 如何实现Android详细通知?

android - 地理围栏 - 触发 'GEOFENCE_NOT_AVAILABLE' 时出现问题

symfony - Symfony2 上的权限问题

java - 尝试在空对象引用上调用虚拟方法 'void android.app.ActionBar.setHomeButtonEnabled(boolean)'