Ok thanks I will look into using that, I don't want to drain the battery now :) thanks for your help.
On 20 November 2010 21:11, Mark Murphy <[email protected]> wrote: > On Sat, Nov 20, 2010 at 4:09 PM, Paul Townsend <[email protected]> wrote: > > I started by using timer() but that done the same thing, basically when > the > > times up it makes a noise then starts the next timer in a que > (Intervals), > > but I would like this to happen when the screen goes blank. > > In that case, I'd echo part of Kostya's answer: use AlarmManager with > a wakeup-style alarm. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.2 Available! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

