What do you mean by "your program might not be running" when the alarm goes off?
Are you using the AlarmManager and a PendingIntent? Also if you just want to get a quick display for testing purposes you can simply display a Toast from a BroadcastReceiver. R/ On Sat, Dec 13, 2008 at 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, > > Moazzam > http://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 -~----------~----~----~----~------~----~------~--~---

