I am creating an app that requires a local database to be updated every time there has been a change in the server database. I want to run a service that runs every 2 minutes and updates the local database using ORMLite.
Would an IntentService
be the best route to do this? Also I am getting mixed results on my searches about if all services are asynchronous or do I have to call a asynctask
in Services other than IntentService
.
Any suggestions on which direction I should go would be greatly appreciated!