本文介绍了Android Map V2 - 为什么要有 MAPS_RECEIVE 权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将此视为维基问题.
当我设置我的项目以支持 Map V2 时,有一个步骤是添加 MAPS_RECEIVE 权限.
While I setup my project to support Map V2, There has been a step to add MAPS_RECEIVE permission.
<permission
android:name="com.example.mapdemo.permission.MAPS_RECEIVE"
android:protectionLevel="signature"/>
<uses-permission android:name="com.example.mapdemo.permission.MAPS_RECEIVE"/>
为什么我们要从应用本身创建和使用权限?
Why we creating and consuming the permission from the app itself?
Google Play 服务应用是否使用此权限进行交互?
Is that google play services app interact using this permission ?
这个权限不能管这些事?
This permission can't takes care of these things?
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
我认为使用自定义权限是为了允许其他应用启动/使用我们应用的服务/资源.
I thought the use of custom permission is to allow other apps to launch/use our app's services/resources.
推荐答案
对于未来的访问者:
现在完全不需要此权限.最新更新的Google Play 服务 3.1.59 让它变得毫无用处.结果,它可以是已移除.
这篇关于Android Map V2 - 为什么要有 MAPS_RECEIVE 权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!