[DEPRECATED] Google Drive Android API Demos
The Drive Android API used in this sample is now deprecated. Please see the migration guide for more information.
Google Drive Android API Demos app illustrates all possible ways to talk to Drive service with the use of interfaces available in Google Play Services. The calls illustrated within the app are:
Listing and querying
Working with files and folders
- Create a file
- Create a file in App Folder
- Create a folder
- Retrieve metadata
- Retrieve contents
- Listen download progress
- Edit metadata
- Delete a file
- Edit contents
- Pin file to the device
Intents
- Create a file with creator activity
- Pick a file with opener activity
- Pick a folder with opener activity
Hierarchical operations
- Create a file in a folder
- Create a folder in a folder
- List files in a folder
- Query files in a folder
Others
- Authorization, authentication and client connection
- Synchronous requests
- Listen for metadata and contents change events
Can I run this app?
If you actually want to run this sample app (though it is mostly provided so you
can read the code), you will need to register an OAuth 2.0 client for the
package com.google.android.gms.drive.sample.demo with your own debug keys.
See instructions in the Getting Started guide.
