我设置为我的提醒应用程序发出警报:编辑闹钟!
PendingIntent sender = PendingIntent.getBroadcast(AddToDoList.this,
Integer.parseInt(DBHelperClass.getMaxPrimaryId()), intent, 0);
我使用的唯一值(主ID)来设置警报。当我想编辑闹钟时,我正在使用相同的密钥。但是我看到的是两个警报都熄灭了!原创以及编辑。
我该如何取消旧报警? 此外,这些警报不工作,一旦我switchOff &然后再次switchOn我的设备。