List all files in Drive

妖精的绣舞 提交于 2019-11-29 11:01:21

You can't list all files (files that wasn't created by your app) with Google Drive API (Android library). You should use Google Drive REST API.

The scope that you are trying to use is for REST API.

Here is from docs page:

Note: The Android Drive API only works with the https://www.googleapis.com/auth/drive.file scope. This means that only files which a user has opened or created with your application can be matched by a query.

https://developers.google.com/drive/android/queries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!