Jeffrey Blattman wrote:
> as i noted i'm using alarm mgr + broadcast receiver. my activity
> schedules the alarm. if the activity is destroyed (off the stack, not
> just in the background), i don't get the alarms.

Correct. As I wrote:

"If you have a running activity, but you want scheduled alarms to
trigger code even if the activity is not running, you need a
BroadcastReceiver and perhaps some form of service, as per the example I
pointed to."

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to