How to sync with gdocs and gtask in android?
I have a simple notepad and a to do list. I want to do a sync of the text with the notepad and gdocs (google docs) over开发者_C百科 net and also want to sync the to do list with the gtasks (google tasks). I know that this is into a simple task that can be explained in a single note, but please help me with some sample, code snippet and links that can help me start of in the right direction. Thank you.
Build a SyncAdapter (1, 2, 3)
Use google-api-java-client as an abstraction layer to talk to the google docs api.
Fill the data you find into an Android ContentProvider that stores your notes. The same ContentProvider is your interface to view/edit notes.
精彩评论