Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我使用 AlarmManager 来安排警报(应该发送的 PendintIntent),我以后如何识别该警报以取消它?我可以取消我的应用程序安排的所有闹钟吗?
您可能想仔细查看该AlarmManager.cancel(PendingIntent operation)功能。
AlarmManager.cancel(PendingIntent operation)