Setting alarm using calendar.getTimeInMillis() not working
<p>Trying to fire up an alarm at a specific time, like this:</p>

<pre><code>Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.HOUR, 17);
calendar.set(Calendar.MINUTE, 54);

AlarmManager alarmManager = (AlarmManager)getContext().getSystemService(Context.ALARM_SERVICE);   
alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), 30*1000, mAlarmSender);
</code></pre>

<p>Doesn't seem to be working. I'm logging <code>onCreate()</code> in my <code>Service</code> and it doesn't seem to be getting called ever. </p>

<p><strong>EDIT</strong> - I tried switching to <code>calendar.set(Calendar.HOUR_OF_DAY, 17)</code>, which I believe is the right way to do it because that's the 24 hr hour. </p>

<p>But it still isn't working... ;)</p>

<p><strong>EDIT</strong> It's working now. I just jumped the gun a bit. Apparently the alarm isn't 100% exact. </p>
