googleworkspace / android-samples

Android samples for Google Workspace APIs
Apache License 2.0
636 stars 410 forks source link

Where do I use this Resource ID in app. (EXISTING_FOLDER_ID, EXISTING_FILE_ID) #74

Closed maroti-mulange closed 6 years ago

maroti-mulange commented 6 years ago

I have login successfully in this demo app but it doesn't show any data after tapping on Retrieve metadata, Retrieve contents. I think I need to set this following two Resource ID in app. com.google.android.gms.drive.sample.demo.BaseDemoActivity.EXISTING_FOLDER_ID com.google.android.gms.drive.sample.demo.BaseDemoActivity.EXISTING_FILE_ID

but I am not sure where to use this two resource id, so please suggest me how and where to use this id in the application?

nlthing commented 6 years ago

@maroti-mulange Do you solved this problem? I register an OAuth 2.0 client for the demo and run it. It can not create file but can create folder.

asrivas commented 6 years ago

What do mean when by it doesn't show any data? Do you have files and folders for the account you are logged in?

asrivas commented 6 years ago

Hi, you no longer need to set this 2 IDs. Apologies for the confusion but I have removed those lines from the README: https://github.com/gsuitedevs/android-samples/pull/78.