title: AlarmManager not working
body: <p>I need to start the activity <code>AlarmReceiver</code> after 10 seconds (for example).  I need it to be activated without running the app. But whether the app runs or not the <code>AlarmReceiver</code> do not get called. Any suggestions?</p>
  
  <pre><code>Intent intent = new Intent(this, AlarmReceiver.class);
  PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 111, intent, 0);
  AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);
  
  //alarmManager.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() 
                                            //+ (10 * 1000), pendingIntent);
  Toast.makeText(this, "Alarm set", Toast.LENGTH_LONG).show();
  </code></pre>