I'm creating an application that will have a widget, in it will be presented some data taken from a webservice. I need it to refresh every 5 minutes to get some fresh information from the user.
The documentation of the AppWidgetProvider says update requests will be made only over 30 mins, nothing below that , to save battery life and unnecessary use.
I've been researching, and in the English stack, a solution using the AlarmManager to solve.
I do not know what the best way to handle this is if there is any way to upgrade in a shorter time.