-2

We need full access of users Google drive, but it's providing limited access. We are unable to find Google APIs Client Library samples. Attached linked provide following information for samples.

From the documentation

The Google Drive Android API currently only supports drive.file and drive.appfolder authorization scopes. If your application requires additional permissions or features not yet available in the Drive Android API, you must use the Google APIs Java Client.

Where can I find Google APIs Java Client documentation and samples?

Community
  • 1
  • 1
Nooruddin Lakhani
  • 7,507
  • 2
  • 19
  • 39

2 Answers2

1

The GDAA API you're referring to is an API build on top of the REST API and supports only FILE scope.

The REST API supports the DRIVE scope that allows access to all folders/files.

I can offer a very simple DEMO of basic CRUD functionality for the REST API here (and parallel version of the GDAA API here).

Good Luck.

seanpj
  • 6,735
  • 2
  • 33
  • 54
0

If you need more than the drive.file and drive.appfolder scope offer for your android application then you will need to use the API Client Library for Java instead of the Google Drive Android API available in Google Play Services.

You will also need the Google APIs Client Library for Java which performs common REST API tasks including authentication and token management. Review the "The library runs on Android (@Beta)" section in the README to see how to retrieve a Drive service object on android.

Arthur Thompson
  • 9,087
  • 4
  • 29
  • 33