With AlarmManager you can set an alarm at specific time, and repeat it at specified interval of time
alarmMgr.setInexactRepeating(AlarmManager.RTC_WAKEUP,
calendar.getTimeInMillis(), 4*60*60*1000, alarmIntent);
In the example the alarm is repeating every 4 hours, but is it possible to set an alarm that trigger at specific time and repeat at specific times? For example: I want to set an alarm that start a service at 9:00 and repeat it at 11:30, 17:30 and 20:00. The service must start all days approximately at these hours.
Any idea?
why not this way?