android - Synchronizing Database with server by use of a checksum -
in application store data server on first time login db. on each of next login (or after periodic interval of time) need mechanism check updation , if there exists 1 download updated data , update local db.
there proposition use sort of checksum calculated @ local end , match checksum coming server. how implement execution of checksum update data. there other recommendations achieve same task timestamp?
can associate timestamp tables instead of being column in db?
solution:
this have implemented this: there no need of checksum though. each , every table in database has column indicate last update timestamp particular row. , last update timestamp tables stored in different table altogether. timestamp sent server fetch update in data.
Comments
Post a Comment