I want to sync data (such as db record, media) between an Android App and a Server. If you’ve seen Evernote or similar Applications, you certainly understand what I mean.

I have some question (imagine we want to sync DB records):

  1. Every user has a part of server space for himself (such as Evernote or Dropbox). Maybe the user creates new records by cellphone and creates new records in server. How can I match these records together? If there are records with same ID What algorithms do you suggest me?

  2. Except JSON, Are there any way for send data between cellphone device and server?

  3. If SyncAdapter and ContentProvider can solve my problems, please explain exactly for me. (If you could offer some samples or tutorials to me OR Any advice or keywords to help broaden/guide my search would be appreciated as well).

9 Answers
9

Leave a Reply

Your email address will not be published. Required fields are marked *