Scheduling an event in AlarmManager on android

view story

http://stackoverflow.com – I have already read some tutorials and read the documentation, but I can't make this work... This is what I have been testing: This is the way I register the intent to be called with the alarm manager: Calendar cal = Calendar.getInstance(); cal.add(Calendar.MINUTE, 1) PendingIntent sender = PendingIntent.getBroadcast(this, 192837, new Intent(this, AlarmReceiver.class), PendingIntent.FLAG_UPDATE_CURRENT); AlarmManager am = (AlarmManager) getSystemService(ALARM_SERVICE); am.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), sender); My AlarmReceiver: public class AlarmReceiver extends Br (HowTos)