I am making a dictionary kind of an app which uses SQLite
. I have a single table that keeps the pair of foreign words and their translations. I want to sync this table with a particular spreadsheet in Google Docs.
I ve found this awesome library to retrieve and manipulate GoogleSpreadsheets
, so at least I am covered for that. But I donT feel comfortable about the sync. Now,
- Can I use a
SyncAdapter
to do this sync between mySQLite
and aGoogleSpreadsheet
? If yes, how would I go about it? Would I retrieve and manipulate the rows of the spreadsheet in theonPerformSync
or smth? - What could be the other alternatives for such a scenario? Should I maybe use a normal service to do the check when the user requests it (in the main activity, for example) ?
On the Google I/O vids (particularly on Android REST client apps ) they seem pretty persuasive for using the SyncAdapter
but I am not sure if it could help me without an actual REST service.
Thanks in advance..