jeudi 22 octobre 2015

Android Google Drive SDK: Saving to App Folder

For my current project, I would like to allow a user to create a sqlite database file and have them enter some content. Then the user has the option to sign into their google drive account and upload this file. Afterwards, after the user makes further edits, the new database file is uploaded to replace the old file. Finally, if the user has multiple devices, the database should be downloaded from the google drive and replace the existing file stored on the device.

Currently, I have successfully setup Google Drive SDK authentication and I can sign in to the app with my account.

My main question is, how do I upload a sqlite database file to the APP FOLDER when I choose to press a sync button? (This method should be called when the user needs to sync)

Additionally, how do I upload a sqlite database file to the APP FOLDER?

Aucun commentaire:

Enregistrer un commentaire