Re: [android-developers] AlarmManager does not fire?

2012-01-26 Thread Mark Murphy
Nothing leaps out at me as being wrong, other than getApplicationContext() (just use this instead of c). But that should not cause a problem. Make sure that this section of code is being executed, and make sure there are no warnings of note in LogCat. On Thu, Jan 26, 2012 at 3:50 AM, Rudolf Polzer

[android-developers] AlarmManager does not fire?

2012-01-26 Thread Rudolf Polzer
Please give me a hint why the AlarmManager does not fire. In my app, the AlarmManager is set after a user action: Context c = this.getApplicationContext(); AlarmManager am = (AlarmManager)c.getSystemService(Context.ALARM_SERVICE); Intent i = new Intent(c, OnAlarmReceiver.class); Pendin