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):
-
Every user has a part of server space for himself (such as
Evernote
orDropbox
). 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? -
Except JSON, Are there any way for send data between cellphone device and server?
-
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).