Search code examples
androidgoogle-docs-api

Is there a GOOGLE DOCS API for Android


I am looking for a Google DOCS not DRIVE API for ANDORID. All the tutorials online seem to only be about google drive and google sheets. i would like the app to be able to send the data let say a paragraph to google docs so that i can edit it anywhere. after a few days i would like my app to just retrieve the google doc with a id and then be able to view the contents.

I could also like to know if you could create and retrieve GOOGLE DOCS document using the DDRIVE API for ANDORID.

Or am I supposed to use the REST API for GOOGLE DOCS using raw http requests?

Any help would be appreciated. Thanks


Solution

  • No, there is no Android library for Google Docs API.

    But, there is a Java client for Docs API, which you can use in Android. Here's the official guide: https://developers.google.com/docs/api/quickstart/java

    For your second question: Drive API for Android is now deprecated (given here), so it's best to switch to Docs REST API. Of course, you can use its Android client to avoid making direct/raw HTTP requests (as I mentioned above).