I set an alarm for my reminder:
PendingIntent sender = PendingIntent.getBroadcast(AddToDoList.this,
Integer.parseInt(DBHelperClass.getMaxPrimaryId()), intent, 0);
I use a unique value (primary identifier) to set the alarm. When I want to edit the alarm, I use the same key. But what I see is that both anxieties go away! original as well as edited.
How do I cancel an old alarm? Also, these alarms do not work after I switched and then switched back to my device.
source
share