Hi. I try to program an simple alarm that call a broadcastreceiver at a determined time. All works nice if my application is always running. But if I set the alarm and kill the application, the BroadcastReceiver is never called.
All I read seems to say that it should work. Do I misunderstand ? Thanks in advance for any advice. My (common) code to start set the alarm : AlarmManager am = (AlarmManager)getSystemService(Context.ALARM_SERVICE); > Intent i = new Intent(this, TimerReceiver.class); > PendingIntent pi = PendingIntent.getBroadcast(this, 0, i, 0); > am.set(AlarmManager.RTC_WAKEUP, , pi); And the receiver is defined in the manifest : <receiver android:name="com.timer.TimerReceiver" > android:exported="true"></receiver> - I tried with and without android:exported="true". Doesn't change anything. As I understand, I did not need it. - the classname of the receiver is correct. Mike -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

