I'm developing an android app to check data from a website and notify the user when there is a change. So I want to create a scheduled task that runs in the background and execute a method every 60 seconds.
I searched a lot on the Internet and found:
- an Intent, which stops if the app is not running in the foreground.
- a JobSchedular where the smallest interval is 15 minutes.
So is there any opportunity to run a task in the background every 60 seconds in android?
Best regards AndroidMaster