My goal is simple : I am developing an Android app and want to upload files on Google Drive and I also want to be able to read their properties and to download them. So is there a solution out there that doesn’t use deprecated JSon objects and that can do it?
- Connect
- Read file properties (date modified)
- Download
- Upload
Thank you.
You will have to use the REST API’s provided by the Google Drive SDK.
For connecting, You can use OAuth 2.0 :
https://developers.google.com/drive/about-auth
For detecting whther a file has changed see:
https://developers.google.com/drive/manage-changes
For downloading files, see:
https://developers.google.com/drive/manage-downloads
For uploading files, see:
https://developers.google.com/drive/manage-uploads
For info on how to use REST API’s in Android correctly, see:
Make an HTTP request with android
Restful API service
Hope this helps…..