Duplicate alarms versus sync adapter which should I use?

I am developing an Android application whose main behavior is to show the user some pieces of information at every certain configurable period of time. These pieces of information come from my own server, so the application asks the server for new information whenever needed. His behavior should be something like Muzei .

And here's my question: Should I use Repeating Alarms to start a service doing the job of loading new information, or should I use a sync adapter?

I've read about both methods, but I'm not very sure if this is the best solution.

Thank you in advance

+3


source to share





All Articles