> I have the onBoot receiver schedule the alarmManager. How do you schedule > the alarm prior to the first boot? I could schedule it on activity launch, > but it would do it for every launch - even after it successfully scheduled > on a boot. > My initial idea is a preference for first run, so I know I'd need to > schedule it. But that would be destroyed by a task killer.
The preference will not be destroyed by a task killer. The alarm will be, but, if the user applied a task killer to your service, they may want it to stop getting alarms. > Am I missing the "list alarms" method? There is no way I am aware of to get a list of pending alarms related to your application. FWIW, Android 2.2 eliminates the ability for task killers to wipe out alarms, if I understand the situation correctly. -- Mark Murphy CommonsWare [email protected] http://commonsware.com -- 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

