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?

Answers


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.


Need Your Help

Is this valid JSON for reading/parsing multiple objects?

c# json

I'm trying to represent a collection of objects within a JSON string, and would like to know if the format below is correct:

How to display a specified section or line from a huge file without loading the whole file into memory?

linux vim ubuntu gedit

I am trying to debug a large (1.1Gb) SQL dump file. The file says there was an error on line 14718. I have tried opening the file in VIM and gedit but the file was too big to load. Is there a quick...