问题
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.
- Google .....@gmail.com
- Google Calendar
Do you want to allow this request?
screenshot:
is there a way to avoid this message?
回答1:
No you cannot avoid this message, this is to let the users know what applications are doing with their data.
来源:https://stackoverflow.com/questions/3965126/android-google-calendar-permission-issue