title: How to call WakefulBroadcastReceiver
body: <p>I have read lot about <code>WakefulBroadcastReceiver</code>... but didn't get anywhere about how to even call this from main activity. whenever I search how to call <code>WakefulBroadcastReceiver</code> the result always shows me how to call <code>IntentService</code> from <code>WakefulBroadcastReceiver</code>...</p>
  
  <p>Well to call <code>IntentService</code> we write the code "<code>startService()</code>" in activity or in <code>WakefulBroadcastReceiver</code>...
  to call <code>BroadcastReceiver</code> we write </p>
  
  <pre><code>AlarmManager am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(),
        PendingIntent.getBroadcast(this, 0, intent,PendingIntent.FLAG_UPDATE_CURRENT));
  </code></pre>
  
  <p>But I don't find anywhere how to call <code>WakefulBroadcastReceiver</code>...
  please help..</p>