My app will access a webservice to access data (even if the application is not in foreground), every 10 minutes. What is the best way to do that?
First do I need to start my service in seaparate thread? And how to make it get update from server every 10 minutes? Some people said handler.postdelayed and some using Alarm Manager. which one is better and do we have some examples.