本文介绍了Android 谷歌日历权限问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 google-api-client 访问谷歌日历.
I am using google-api-client to access Google calendar.
以下是我的清单文件中的权限.
Following are the permissions in my manifest file.
<uses-permission
android:name="android.permission.INTERNET" />
<uses-permission
android:name="android.permission.GET_ACCOUNTS" />
<uses-permission
android:name="android.permission.USE_CREDENTIALS" />
<uses-permission
android:name="android.permission.MANAGE_ACCOUNTS" />
但我在第一次运行时收到这样的警告消息:
but I am getting such a warning message on the first run:
以下一个或多个应用程序现在和将来请求访问您的帐户的权限.
The following one or more applications request permission to access your account, now and in the future.
- 谷歌.....@gmail.com
- 谷歌日历
您要允许此请求吗?
截图:
有没有办法避免这条消息?
is there a way to avoid this message?
推荐答案
不,您无法避免此消息,这是为了让用户知道应用程序正在使用他们的数据做什么.
No you cannot avoid this message, this is to let the users know what applications are doing with their data.
这篇关于Android 谷歌日历权限问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!