RE: [android-developers] Re: AlarmManager not waiting to fire off alarm...

2012-07-02 Thread Tommy Hartz
@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Nobu Games Sent: Monday, July 02, 2012 6:43 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: AlarmManager not waiting to fire off alarm... Ok... another thing I just noticed: You are

RE: [android-developers] Re: AlarmManager not waiting to fire off alarm...

2012-07-02 Thread Tommy Hartz
droid-developers@googlegroups.com] On Behalf Of Nobu Games Sent: Monday, July 02, 2012 5:51 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: AlarmManager not waiting to fire off alarm... Just an educated guess. The documentation about the get method states, that alarm

Re: [android-developers] Re: AlarmManager not waiting to fire off alarm...

2012-07-02 Thread Nobu Games
[mailto: > android-developers@googlegroups.com] *On Behalf Of *Nobu Games > *Sent:* Monday, July 02, 2012 5:51 PM > *To:* android-developers@googlegroups.com > *Subject:* [android-developers] Re: AlarmManager not waiting to fire off > alarm... > > > > Just an educated gues

RE: [android-developers] Re: AlarmManager not waiting to fire off alarm...

2012-07-02 Thread Tommy Hartz
-developers@googlegroups.com Subject: [android-developers] Re: AlarmManager not waiting to fire off alarm... Just an educated guess. The documentation about the get method states, that alarm dates in the past will be triggered immediately, which is your case. Following line might be the problem

[android-developers] Re: AlarmManager not waiting to fire off alarm...

2012-07-02 Thread RichardC
Just one thing I spotted: Calendar.HOUR is the 12hour clock you also need to set Calendar. AM_PM as well or use Calendar.HOUR_OF_DAY which is the 24hour clock -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Re: AlarmManager not waiting to fire off alarm...

2012-07-02 Thread Nobu Games
Just an educated guess. The documentation about the get method states, that alarm dates in the past will be triggered immediately, which is your case. Following line might be the problem because of a possibly wrong 12 / 24 hour conversion: cal.set(Calendar.*HOUR*, tpAddEvent.getCurrentHour()