OAuth 2.0 Token type alias in Android for Google Calendar
I'm developing an Android application which uses the AccountManager to get access to the User's Google Calendar. I'm using the Java Calendar API version 3. I have a working sample however the Authorization token type I use to obtain permission from the user is not human readable, currently I use:
private static final String AUTH_TOKEN_TYPE = "oauth2:https://www.googleapis.com/auth/calendar";
So I'm trying to find a human readable token type as this doesn't give the user a good indication of what permission they are giving to the application. There is an alias for Google Tasks as detailed in this blog post - 'Manage your tasks' is used. Is there a similar alias for Google Calendar on Android?
Try "Manage your calendars" if you want to view and manage the user's calendar. Otherwise use the less powerful "View your calendars" which gives you read-only access.