criteria n. 标准,条件(criterion的复数)
Your app only needs permissions for actions that it performs directly. Your app does not need permission if it is requesting that another app perform the task or provide the information. For example, if your app needs to read the user’s address book, the app needs the READ_CONTACTS permission. But if your app uses an intent to request information from the user’s Contacts app, your app does not need any permissions, but the Contacts app does need to have that permission.
如果你的app需要读取通讯录,那么它需要READ_CONTACTS权限,但是如果你的app需要从一个通讯录类型的app获取一些信息,那么你的app不需要申请任何权限,但是这个通讯录app需要该权限。
https://developer.android.com/training/basics/intents/filters.html
最新推荐文章于 2024-06-27 16:05:57 发布
本文详细解释了应用程序如何正确处理权限请求,特别是针对直接操作与间接请求之间的区别。举例说明了读取通讯录时不同情景下权限分配的原则。
2万+

被折叠的 条评论
为什么被折叠?



