Zubin Kadva
Zubin Kadva

Reputation: 591

Using Google Drive API to backup my app

I would like to use the Google Drive API to backup my app data to the cloud. I have used BackupAPI before but am not satisfied with the results.

I have successfully integrated the library to my app.

I followed the steps in https://github.com/googledrive/android-demos/blob/master/app/src/main/java/com/google/android/gms/drive/sample/demo/CreateFileInAppFolderActivity.java

I want to know how to copy my database for upload to Google Drive in AppData folder so that it is not visible to the user.

Need some help here.

Upvotes: 0

Views: 2250

Answers (1)

Sarthak Bhatia
Sarthak Bhatia

Reputation: 104

If you use Whatsapp. You might have noticed that it specifically asks the user regarding which google druve account the user wants data to be backed up. I dont think you can do it without letting the user know as far as I know.

But then again that is user data not app data. So it is different.

Upvotes: 1

Related Questions