If you want to wake up the device, PowerManager will work. If you just want your code to do something after a while, even though the phone was asleep, set a timer: http://developer.android.com/reference/java/util/Timer.html
Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 6, 2:09 am, Anonymous Anonymous <[email protected]> wrote: > http://developer.android.com/reference/android/os/PowerManager.html > > > > On Thu, Aug 6, 2009 at 2:24 PM, peter <[email protected]> wrote: > > > I guess AlarmManager could do it for your requirement > > > On Aug 6, 3:29 pm, "[email protected]" <[email protected]> > > wrote: > > > Hi all, > > > I have an application with notification. I want my notification > > > can wake the device up when it goes off but the device is asleep. > > > Could anybody tell me how to do by some code? > > > Thank you in advance! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

