开发者

How to sync with gdocs and gtask in android?

开发者 https://www.devze.com 2023-03-16 10:55 出处:网络
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 tas

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.


  1. Build a SyncAdapter (1, 2, 3)

  2. Use google-api-java-client as an abstraction layer to talk to the google docs api.

  3. Fill the data you find into an Android ContentProvider that stores your notes. The same ContentProvider is your interface to view/edit notes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号