I have to developed a application such that any one can access my google drive and he/she can read and write file on my google drive using android.
Kindly refer the link given below , You can use this for including google drive in your app.
https://github.com/googledrive/android-demos
https://developers.google.com/drive/android/
Related
I'm looking for the possibility of making an android app that connects to a Drive account to upload files. The restriction is that this account should be a service account and not the user's account.
https://developers.google.com/drive/web/service-accounts Shows how to do it on the server-side of an application, but is it possible to do this in Android?
I understand that the SDK was not design for this purpose, but are there any workarounds to do this? Is it even possible?
Any sort of example or guidance is welcome. I want to use the Drive SDK for its resumable upload protocol, so I would also welcome other alternatives to do resumable uploads on Android.
This is what you want to do with Google Drive Android API now:
Open File
Create a File
Compress File
Use File Content
Use Folders
Queryin for Files
MetaData
Can anyone tell me if it is possible to open Google Drive App at certain path? I know that Google Drive APi allow to list all files for every folder, but i prefer use Google Drive app if is possible.
Thank you.
Try with this excelent answer
With this, you can open Google Drive native app from another app.
Is it possible to share file created at google drive with specific google users using android drive API? It is said (http://googledevelopers.blogspot.ru/2014/01/introducing-google-drive-android-api.html) that "Google Drive API offers specialized functionality... including access to metadata and sharing features". However, I couldn't find any means to share file using android drive API. There's no hint in API documentation about how to do it. If it matters, I'm going to share file stored in AppFolder of my app (other users of the app should be able to access it).
Sharing is not currently supported in the Android-specific API (sorry for the confusing wording in the blog post.)
You can fallback to the web API to do sharing (e.g, modifying permissions). To use the web API, use DriveId.getResourceId().
However, files that are in the AppFolder are special. Items in that folder cannot currently be shared. They are only visible to your app and the specific user.
How can I check if the file is uploaded to Google Drive using Google Drive Android API? I was looking here but the only file missing is the CheckFileSyncStatusActivity.java which, I guess, does the thing I need.
Though its very late to answer but you can make completion events to detect when upload is done to drive.
Here is a google link regarding that link
I am using the Google Drive List API on an own Android app and listing the files stored on Google Drive. When I select a Google Doc file on my own App I want to open it with the official Google Drive Android-App, how can I do this?
Thanks!
If you open the file URL in Android, it should ask you if you want to use the Google Doc app or the web browser.
The URL is typically what you'll get from the Doc List, something like:
https://docs.google.com/document/d/_Doc_list_resource_id_/edit