title: Android Studio:Need help in IntentFilter
body: <p>I'm doing a small program in android studio and I need help in this code:</p>
  
  <pre><code>    Intent myIntent = new Intent(this , NotifyService.class);
      PendingIntent pendingIntent = PendingIntent.getService(this, 0, myIntent, 0);
      AlarmManager alarmManager = (AlarmManager)getSystemService(ALARM_SERVICE);
      Calendar calendar = Calendar.getInstance();
      alarmManager.setInexactRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime() + AlarmManager.INTERVAL_FIFTEEN_MINUTES, AlarmManager.INTERVAL_DAY, pendingIntent);
      BroadReceiver receiver = new BroadReceiver();
      IntentFilter filter = new IntentFilter("I NEED HELP HERE!");
      registerReceiver(receiver, filter);
      return super.onStartCommand(intent, flags, startId);
  </code></pre>
  
  <p>So, in the line <strong>I NEED HELP HERE</strong>, when I wrote <code>Intent.ACTION_AIRPLANE_MODE_CHANGED</code> it runs like it should be, but I need the code above to do the function of the <code>ACTION_AIRPLANE_MODE_CHANGED</code>. Basically, every fifteen minutes the background program (this code is there) should open a notification.</p>
  
  <p>If you need more code just say.</p>