Android Java - Creating a Cronjob

I want to create a "Cronjob" that runs in the backend and runs all 30 minutes in the method. If the function returns true (or something else), "Cronjob" will create a status notification.

Is this possible in Android? And when yes, with what function?

Thank you very much.

+4
source share
1 answer

Android AlarmManager is the class you are looking for. It can initiate an intention to be sent to your application at set intervals so that you can perform any task you want.

+7
source

All Articles