1
votes

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).

1
Are you looking for something like this: developers.google.com/drive/web/…? - Robin Ellerkmann
It could be great, but the link is about javascript( thanks - Sergei Bazhenov

1 Answers

1
votes

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.