title: Broadcast Receiver for ACTION_USER_PRESENT,ACTION_SCREEN_ON,ACTION_BOOT_COMPLETED
body: <p>I am creating a class which uses broadcast receiver. I want to receive the broadcast on unlocking of the phone. But there is some issue. Please help me out.</p>
  
  <p>My Manifest.xml is :-</p>
  
  <pre><code>&lt;receiver android:name=".MyReciever"&gt;
      &lt;intent-filter&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.ACTION_USER_PRESENT" /&gt;
              &lt;action android:name="android.intent.action.ACTION_BOOT_COMPLETED" /&gt;
              &lt;action android:name="android.intent.action.ACTION_SCREEN_ON" /&gt;
          &lt;/intent-filter&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  </code></pre>
  
  <p>and my Broadcast reciever class :-</p>
  
  <pre><code>public class MyReiever extends BroadcastReceiver {
  
     @Override
     public void onReceive(Context context, Intent intent) {
     Log.d("My Reciever","is intent null =&gt; " + (intent == null));
     Log.d("My Reciever",intent.getAction()+"");
     }
  }
  </code></pre>
  
  <p>Though other application and services are receiving broadcast for "Screen_on" and "USer_Present" eg. WifiService.</p>