title: How can I set exact, repeating alarms in Android 4.4?
body: <p>Right now, I am setting alarms like this: </p>
  
  <pre><code>        AlarmManager manager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
          Intent intent = new Intent(context, AlarmReceiver.class);
          PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, 0);
  
          timedate = cal.getTime();
  
          //convert date to milis
          long timeInMilis = (timedate.getTime());
  
          //Set Alarm to Repeat
          manager.setRepeating(AlarmManager.RTC_WAKEUP, timeInMilis, interval, pendingIntent);
  </code></pre>
  
  <p>Unfortunately, the scheduled times for repeating are inexact and I read that they could be inexact for a full interval! </p>
  
  <p>So, I would like to switch over to seting an exact repeating alarm. My device requires a minimum only of the latest API 19/Android 4.4, so I can't use setRepeating. </p>
  
  <p>What can I do instead to set an exact repeating alarm? </p>