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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -