Cannot Access Google Drive From 2 Different Device
I have an app which creates a word file on the Google Drive with some text. If I try to access the word file on the Google Drive from the device In which I have created that file,
Solution 1:
DriveId means nothing on a different device. If you want to work with a file/folder, on a different device you have to use the ResourceId. That's the old 'id' from RESTful API. DriveId is specific to one particular instance of Google Play Services*.
You can also search for files/folders using metadata like title, mime, parent, ... but! Only DriveId and ResourceId are unique IDs, everything else (including title) is not. That means you can have multiple files / folders of the same name in the same location on the Drive !
*) There is an attempt to explain this on SO 29030110 .
Good Luck
Post a Comment for "Cannot Access Google Drive From 2 Different Device"