1
I am creating an application that will have a widget, it will be presented some data taken from a webservice. I need it to update every 5 minutes to have a recent user information.
The documentation of Appwidgetprovider says that update requests will be made only over 30 min, nothing below that, to save battery and unnecessary use.
I have been researching, and in the stack in English, is quoted a solution using Alarmmanager to resolve.
I don’t know the best way to treat this and if there is any way to update in shorter times.
Thanks for the @acklay reply, my application would need to refresh in shorter times as it would update data from the stock exchange. At the moment I will see the solution with Alarmmanager and think of another way to solve it.
– Carlos Bridi