If it has to be at a specific real time, you have to use the alarm manager, so that the device will wake up at that time if it is currently asleep.
And yes the alarm manager gets reset when the system reboots. On Wed, Jul 25, 2012 at 2:25 AM, Shafali Gupta <[email protected]> wrote: > Hi, > > I need to get the event when it is 6 AM or 6PM in the framework > (lockscreen). > > What would be the best way? > > If i would implement it through alarm manager, will that alarm get reset > on system reboot? > > Pls suggest something on this. > > Thanks, > Shafali > > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
