I need to build a background task that runs every 10/15 minutes (doesn't really matter, either is good), even when the application is not running.
How can I accomplish this? I can't seem the wrap my head around this.
I read I could use some sort of runnable() functionality or use a background services or AlarmManager. I was thinking of a background service, since it also must be done when the application itself is not running.
What is a better way of doing this and how could I do it?