Advice:
- Use system timer to wake up the program on next notification.
- Do not separate hours and minutes, together they are the time od the day.
- You know something is wrong when you repeat code 5 times for 5 notifications. What would you do with 20 notifications.
- Store all notifications in an array.
At every moment, you should know which notification is the next one, and next to test only at launch time to initialize.
Making a interval timer in Java android - Stack Overflow[
^]
Android timer? How? - Stack Overflow[
^]