title: Alarm from AlarmManager is not going off
body: <p>With this code I am setting an alarm in <code>onCreate</code> of my <code>MainActivity</code> using the <code>AlarmManager</code>:</p>
  
  <pre><code>Intent startServiceIntent = new Intent(this, MyService.class);
  AlarmManager manager = (AlarmManager) getSystemService(Activity.ALARM_SERVICE);
  PendingIntent pendingIntent = PendingIntent.getService(this, 0, startServiceIntent, 0);
  
  Calendar cal = Calendar.getInstance();
  cal.set(Calendar.HOUR_OF_DAY, 7);
  cal.set(Calendar.MINUTE, 47);
  cal.set(Calendar.SECOND, 00);
  cal.set(Calendar.YEAR, 2014);
  cal.set(Calendar.MONTH, 07);
  cal.set(Calendar.DAY_OF_MONTH, 28);
  
  manager.setRepeating(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), 1000, pendingIntent);
  </code></pre>
  
  <p>And the code of <code>MyService</code> is:</p>
  
  <pre><code>public class MyService extends Service {
  
      @Override
      public IBinder onBind(Intent arg0) {
          return null;
      }
  
      @Override
      public void onCreate() {
          Toast.makeText(getApplicationContext(), "Service Created", Toast.LENGTH_SHORT).show();
          super.onCreate();
  
      }
  
      @Override
      public int onStartCommand(Intent intent, int flags, int startId) {
          Toast.makeText(getApplicationContext(), "Service Working", 1).show();
          return super.onStartCommand(intent, flags, startId);
      }
  }
  </code></pre>
  
  <p>But none of the <code>Toasts</code> from <code>MyService</code> are shown? Can anybody tell me what I'm doing wrong?</p>