title: Is there any way to check if an alarm is already set?
body: <p>I am stuck.  When my application starts I want to check if an alarm is alive that I previously set.  If not then I want to set it.</p>
  
  <p>I referred to <a href="https://stackoverflow.com/questions/4556670/how-to-check-if-alarmmamager-already-has-an-alarm-set">this solution</a>.  I am trying to match the intent like this:</p>
  
  <pre><code>Intent intent = new Intent();
          intent.setAction("com.vit.upload");
          PendingIntent pIntent = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_NO_CREATE);
  </code></pre>
  
  <p>But it doesn't work.  What else would work?</p>