title: Broadcast Receiver in a Library Project not working
body: <p>I have implemented <code>Broadcast Receiver</code> in a <code>library</code> project for checking the <code>Boot Completed</code> event , but it is not working.</p>
  
  <p>Broadcast Receiver Class :</p>
  
  <pre><code>public class Reciever  extends BroadcastReceiver
  {
      public void onReceive(Context context, Intent intent) 
      {
         if(intent.getAction().equals("android.intent.action.BOOT_COMPLETED"))
         {
              Toast.makeText(context, "Device Boot Completed", Toast.LENGTH_LONG).show();
         }
      }
  }
  </code></pre>
  
  <p>AndroidManifest.xml :</p>
  
  <pre><code>    &lt;receiver
          android:name=".Reciever"
          android:enabled="true" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.BOOT_COMPLETED" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  </code></pre>
  
  <p>I implemented same Receiver in another application (not library project) and it is working fine.</p>