setinexactrepeating in AlarmManager interval type?
<p>Have I misunderstood the interval of the AlarmManager.setinexactrepeating method?
I've set the below code to go off in 30 minute intervals and every 30 or minutes
after that.  At least that was my intention.</p>

<p>However, my service, WakeCheck, is woken up in 30 minutes as expected but then
repeats once every minute.  </p>

<pre><code>    if (Settings.AlarmInterval != 0) {
            Calendar calendar = Calendar.getInstance();
            calendar.setTimeInMillis(System.currentTimeMillis());
            calendar.add(Calendar.MINUTE, (int)( Settings.AlarmInterval/1000/60));

            Intent myIntent = new Intent(mCtx, WakeCheck.class);

            pendingIntent = PendingIntent.getService(mCtx, 0, myIntent, 0);

            AlarmManager alarmManager = (AlarmManager)mCtx.getSystemService(mCtx.ALARM_SERVICE);
            alarmManager.cancel(pendingIntent); // cancel any previous alarms
            alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP,  calendar.getTimeInMillis(), Settings.AlarmInterval, pendingIntent);
        }
</code></pre>
