Android API for Google Drive?

2019-01-06 17:28发布

问题:

It seems the currently released API is focused on Chrome store apps.

Will there be an API for Android or is it possible to use and existing API like the Google Documents list data? And if so, which URL should be used for listing/accessing files?

回答1:

edit: with the deprecation of the docs list API, this is no longer the best solution

You can use the existing Documents List API to access Drive resources, they share the same endpoints.



回答2:

Here is a guide to integrate your app with Google Drive



回答3:

Unfortunately the Documents List API is mainly documented in .NET (just the oauth is in java). For the life of me I am struggling putting together the end points in the gdata jar to upload a simple file. Tried to use the .net example as a guide put couldnt find the comparable classes in java.