Figured it out. Just needed to create a service dedicated to setting the users defined alarm time, which I save in a preference. After reboot the service is called, pulls the preference, creates the alarm, and stop itself. Simple.
Ken On Feb 23, 8:44 am, Ken H <[email protected]> wrote: > But how can you then set the alarm to fire at a specific time? Every > example I've come across has the alarm fire a certain amount of time > after reboot. I want to set a specific time used in my app and the > onReceive method seems pretty limited in what it will let you do. > > Ken > > On Feb 2, 1:26 pm, Mike Novak <[email protected]> wrote: > > > > > register to receive the BOOT_COMPLETED broadcast. > > > and register with theAlarmManagerthen. > > > Mike > > > On Feb 2, 2010, at 4:17 PM, Chris wrote: > > > > Hello everyone > > > > TheAlarmManagerAPI states that alarms created with this API are > > > removed when the phone is turned off and rebooted. > > > > Is there a way to persist the alarms? > > > > If I knew how to start a process immediately on bootup, I could > > > recreate the alarms, but I haven't had much luck finding this > > > information. > > > > If anyone knows how to persist an alarm after bootup or at least auto- > > > execute an activity or intent after bootup, I would greatly appreciate > > > it. > > > > Thanks > > > Chris > > > > -- > > > 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 -- 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

