I want my application to trigger an event at a certain time and can be repeated on the chosen day. How to make a scheduling that can be set like what time the command can work and what days the command can be repeated again as needed?
Asked
Active
Viewed 33 times
0
-
Do you need an exact executing or is it not so important, it can be a little deffered? If it's first case then you need to use an AlarmManager, second case — WorkManager. A link https://developer.android.com/guide/background – Dyno Cris Jul 14 '20 at 03:46
-
yes because I want to make a schedule for the smartroom application so that the connected device can work according to the schedule that has been set – Ycz Jul 14 '20 at 04:10
-
Does this answer your question? [Scheduling recurring task in Android](https://stackoverflow.com/questions/14376470/scheduling-recurring-task-in-android) – Gk Mohammad Emon Jul 14 '20 at 06:12
-
sorry it seems like it hasn't answered my question, I not really understand the explanation – Ycz Jul 15 '20 at 15:13