<fred.niggle@googlemail.com> wrote:
> Yes, alarmmanager is the way to go, but i cant find a way to make it
> fire *on* the quarter hour.
>
> I can get it to fire off 15 minutes after the code starts (i.e. at
> 12:08, but not at 12.15,12.30,12.45, etc)
>
> I know im missing something here... coders block i guess :-(
Your call to setRepeating() takes a starting time. Specify the
starting time to be whatever the next quarter-hour is.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment