## Cancel Pending Intents ##
private void Alarm_off_Click(object sender, EventArgs e)
{
OnAlaramStop();
}
public void OnAlaramStop()
{
Intent myint = new Intent();
PendingIntent pendingIntent =
PendingIntent.GetBroadcast(Application.Context, 0, myint,
PendingIntentFlags.CancelCurrent);
alarm_manager.Cancel(pendingIntent);
}
I create multiple Pending Intents, that wake-up my device at specific time, but i wants that , when i click the Alaram_Off Button , then all the pending Intents Cancel. But Unfortunately pending Intents are not cancelled. Who will help me, Thanks in advance all my dears.