title: Alarm Manager not working in my code
body: <p>I wasted my whole day in search of solution for alarm manager to work. I am now too tired to search further. I have also read all questions and their answers in stackoverflow. Can any figure out my mistake in below code? i'll be very thank full to you.</p>
  
  <p>Main Activity</p>
  
  <pre><code>public class DisplayWebView extends AppCompatActivity {
  
      WebView webview;
      EditText link, date;
      Button insert;
      String[] receivedLink;
      ListView list;
      List&lt;Model&gt; ls_data;
      CustomAdapter adapter;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_webview);
  
          Intent intent = new Intent(DisplayWebView.this, MyBroadcastReceiver.class);
          PendingIntent pendingIntent = PendingIntent.getBroadcast(DisplayWebView.this, 234324243, intent, 0);
          AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);
          alarmManager.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()
                  + (5 * 10), pendingIntent);
      }
  }
  </code></pre>
  
  <p>Alarm Receiver</p>
  
  <pre><code>public class MyBroadcastReceiver extends BroadcastReceiver {
  
      @Override
      public void onReceive(Context context, Intent intent) {
  
          Toast.makeText(context, "Alarm....", Toast.LENGTH_LONG).show();
  
          Log.e("Testing","ok");
  
      }
  
  
  }
  </code></pre>
  
  <p>Manifests</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.umama.webview"&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
      &lt;uses-permission android:name="com.android.alarm.permission.SET_ALARM"/&gt;
   &lt;!--   &lt;receiver  android:process=":remote" android:name="AlarmReceiver"&gt;&lt;/receiver&gt;--&gt;
      &lt;receiver android:name="com.umama.WebView.AndroidAlarmService" android:enabled="true" /&gt;
      &lt;!--&lt;receiver android:name="net.fusonic.testapp.receivers.TestAlarmReceiver"&gt;&lt;/receiver&gt;--&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity android:name=".SplashScreen" /&gt;
          &lt;!--
   ATTENTION: This was auto-generated to add Google Play services to your project for
       App Indexing.  See https://g.co/AppIndexing/AndroidStudio for more information.
          --&gt;
          &lt;meta-data
              android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version" /&gt;
  
          &lt;activity android:name=".DisplayWebView"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity android:name=".Main2Activity" /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>