Get Google AuthSub Token from Android App
To access Google Docs or any other Google service (or any other OAuth based service) you will need to find an OAuth based authentication method, after which you can get a secure token that you can use to access the service based on user credentials ...
There are some really good examples to get you started:
-
This is an example of how to make AccountManager work with Google like Google Tasks, it shows how to create tokens and how to use them: https://developers.google.com/google-apps/tasks/oauth-and-tasks-on- android
-
This is a detailed analysis of how you can authenticate based on Android credentials users, there is an example of how things work and how the UI should be: http://www.finalconcept.com.au/article/view/android-account- manager-step-by-step-2
For something specific to Google Docs see
source to share