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
最新推荐文章于 2019-06-11 15:09:01 发布