Android Map V2

编程入门 行业动态 更新时间:2024-10-28 01:13:49
本文介绍了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 让它变得毫无用处.结果,它可以是已移除.

This permission is now completely unnecessary. The latest update of Google Play Services 3.1.59 made it useless. As a result, it can be removed.

来源

更多推荐

Android Map V2

本文发布于:2023-11-25 16:40:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1630527.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Android   Map

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!