I\'m trying to check if my alarm is active or not. The alarmIsSet method will return false before the alarm is set, true when the alarm is set. So far so good, however, after th
You just have to add
pi.cancel();
after
am.cancel(pi);