title: My Broadcast Receiver does not start
body: <p>I have some problem with BroadcastReceiver. There nothing happens when I catch an outgoing call.</p>
  
  <pre><code>public class demoBroadcastReceiver extends BroadcastReceiver {
      /** Called when the activity is first created. */
  
      @Override
      public void onReceive(Context context, Intent intent) {
          // TODO Auto-generated method stub
          Toast.makeText(context, "there is new calling", Toast.LENGTH_LONG).show();
      }
  }
  </code></pre>
  
  <p>This is content of my Manifest:
      
      </p>
  
  <pre><code>    &lt;uses-sdk android:minSdkVersion="7" /&gt;
      &lt;application
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name" &gt;
              &lt;receiver  android:name=".demoBroadcastReceiver"&gt;
                  &lt;intent-filter  &gt;
                      &lt;action android:name="android.intent.action.NEW_OUTGOING_CALL" /&gt;
                  &lt;/intent-filter&gt; 
                  &lt;intent-filter &gt;
                      &lt;action android:name="android.intent.action.PHONE_STATE" /&gt;
                  &lt;/intent-filter&gt; 
              &lt;/receiver&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>Updated:</strong>
  Thanks <em>Lucifer</em> for solution:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"&gt;
  </code></pre>
  
  <p>I also need this: </p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.NEW_OUTGOING_CALL" /&gt;
  &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;**strong text**
  </code></pre>