title: Android cancel all alarmmanager
body: <p>I've question with cancel() in AlarmManager</p>
  
  <p>when I set alarm I use AlarmManger, this my code</p>
  
  <pre><code>        StringBuilder q = new StringBuilder()
          .append(time).append(".")
          .append(day);
          String action = q.toString();
  
          Intent AlarmIntent = new Intent(Edit_Contract.this, ReceiverContract.class);
          AlarmIntent.setAction(action);
          AlarmManager AlmMgr = (AlarmManager)getSystemService(ALARM_SERVICE);
  
          PendingIntent Sender = PendingIntent.getBroadcast(Edit_Contract.this, 0, AlarmIntent, PendingIntent.FLAG_UPDATE_CURRENT);
  </code></pre>
  
  <p>and then,I want to cancel all alarm which I set,what should I do</p>