我想在Android应用程序和服务器之间同步数据(如db记录,媒体)。如果你看过Evernote或类似的应用程序,你肯定能理解我的意思。
我有一些问题(假设我们想要同步DB记录):
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? 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).