I have a android system that has a local sqlite database which has 4 tables which are related to each other (States -> Sections -> Offices -> OfficeTelephones). I also have a remote server which gets crud operations on it from a panel (website), the android app comes with a basic database which contains some information at first but then the user should be able to sync and updates it's android local sqlite db from the mssql to get the updated, new and deleted data. I know there should be a webservice handling the request but I don't know how to handle the syncing. What is the best approach?
Thanks in advance