如果我用AlarmManager安排警报(一PendintIntent应发),我怎么能确定报警后,取消了吗?我可以取消定于我的应用程序的所有报警?
If I use the AlarmManager to schedule an alarm (a PendintIntent which should be send), how can I identify that alarm later to cancel it? Can I cancel all alarms scheduled by my app?
您可能希望有一个仔细看看AlarmManager.cancel(PendingIntent操作) 功能。
You probably want to have a closer look at the AlarmManager.cancel(PendingIntent operation)
function.