I am having a look at here from github.
I can create a file and a folder successfully by reading the code provided in github. But I am not being able to edit the file or create a file/folder in any specific folder.
The main problem would be using emulator, but I am not sure. I am using GenyMotion
I have also copied the ID of a file/folder using
showMessage("Created a file in App Folder: "
+ result.getDriveFile().getDriveId());
and
showMessage("Created a folder: " + result.getDriveFolder().getDriveId());
lines of code .
Then I changed
public static final String EXISTING_FOLDER_ID = "CAESABjACiCShczj8lI=";//changed this
public static final String EXISTING_FILE_ID = "0ByfSjdPVs9MZTHBmMVdSeWxaNTg";
of BaseActivity. Still I am getting the same output.
"Cannot find DriveId. Are you authorized to view this file?"
Can anyone point me what am I doing wrong here?
Thank you!!