1

Well I have managed to upload and download my database to/from google drive using this and this.

But now I want to update my sqlite data. Supposed I have uploaded data with 20 entries and then a user inserted 3 new ones. Now I just want to append these 3 new entries. I have searched but can't find any good solution.

Is it possible with google drive or should i move to another good syncing API like Firebase?

Any help or suggestion would be fine.

Community
  • 1
  • 1
H Raval
  • 1,903
  • 17
  • 39
  • See [here](https://developers.google.com/drive/android/files#making_modifications). Also, [this question](http://stackoverflow.com/questions/34514640/is-it-possible-to-have-random-access-writes-to-a-google-drive-file-from-the-andr) regarding random access to files might be useful. – Anatoli Sep 11 '16 at 23:33
  • well append will work perfect with insert but what about editing data – H Raval Sep 12 '16 at 10:23
  • See [here](http://stackoverflow.com/questions/34514640/is-it-possible-to-have-random-access-writes-to-a-google-drive-file-from-the-andr/34538269#34538269) for a way to gain random access. – Anatoli Sep 13 '16 at 01:40
  • Have you found a solution to this, @HRaval ? Could you let me know, since I am having the same issue. – Farbod Salamat-Zadeh Jan 02 '17 at 15:34
  • nope....for now i have managed it by deleting and uploading entire new db each time....i knew its not the best approach but i can't found any other – H Raval Jan 03 '17 at 07:32

0 Answers0