title: use Broadcast Receiver to catch incoming call, onReceive not triggered?
body: <p>I want to implement a simple BroadcastReceiver, it gets triggered when there's an incoming call. However, it seems onReceive is never triggered (I checked the LogCat very carefully, no output there), what was wrong? Tks
  My class:</p>
  
  <pre><code>public class MyPhoneReceiver extends BroadcastReceiver {
      private static final String TAG = "DEBUG";
  
      @Override
      public void onReceive(Context context, Intent intent) {
          Log.e(TAG, "Test loggiiiiiiiiiiiiiiiiiiiiiiiiing!");
  
      }
  
  }
  </code></pre>
  
  <p>My manifest file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="tung.le.android.receiver.phone"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
  
      &lt;application
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name" &gt;
           &lt;receiver android:name=".MyPhoneReceiver" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.PHONE_STATE" &gt;
                  &lt;/action&gt;
  
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
      &lt;/application&gt;
      &lt;uses-sdk android:minSdkVersion="15" /&gt;
      &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" &gt;
      &lt;/uses-permission&gt;
  
  &lt;/manifest&gt;
  </code></pre>