且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

同步数据库Mysql的SQLite的

更新时间:2023-02-02 22:07:01

为什么不是你的服务器上使用时间戳(或版本字段)在MySQL数据库中,那么当Android应用程序时,它会暗示检查时间戳/版本看是否有变化,因为它需要更新。如果时间戳/版本比$ P $更新pviously中下载更新的其他数据集只需使用已存储。

Why not use a timestamp (or version field) in the mysql database on your server, then when the android app is run it imply checks the timestamp/version to see if there is a change since it needs to be updated. If the timestamp/version is newer than previously found download the updated dataset else simply use what is already stored.