How to show notifications at provided time frame and frequency in Android?
I'm trying to make a feature where user can select the time frame and interval in which he would receive notifications to his phone. I'm using AlarmManager for repeating notifications, however it only covers the start time of notifications and the interval/frequency of notifications.
How could I make the notifications go off only from user selected hours, let's say every day 1 PM - 8 PM (13:00 - 20:00) every 2 hours?
I was thinking about using WorkManager to start AlarmManager at selected...