Q:

AlarmManager Multiple Alarms

Just a quick question.
I know how to set multiple alarms by assigning a unique id to each one, but if a user wants to set an alarm for 9am, 12pm, 3pm and 7pm on Monday, Wednesday and Friday, does that mean I have to set up 12 alarms?
Following on from that, if they wanted to set the alarm for the same times for 6 days of the week, is that 24 alarms, whereas if it was for the full week it would be just 4 alarms?
Thanks
Dave

A:

The AlarmManager has only basic API. So you may use setRepeating for 9am, 12pm, 3pm, 7pm and then ignore the alarm on specific days.

