Have you tried creating a service that ties to your activity. Thus the alarm service can keep on running when your activity is killed.
On Dec 13, 9:06 pm, moazzamk <[email protected]> wrote: > Hey all, > > I am trying to write a program that sets and alarm and has to display > a text when the alarm "goes off" . The problem is my program might not > be running when the alarm broadcast is sent so my program keeps > crashing. Is there a way I can code an alarm receiver that can display > an alert even if my program is not running? > > Thanks in advance, > > Moazzamhttp://moazzam-khan.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 -~----------~----~----~----~------~----~------~--~---

