@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
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
[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
-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
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,
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()
6 matches
Mail list logo