title: PHONE_STATE Intent-filter
body: <p>I need to find all applications that define the PHONE_STATE intent-filter in their manifest.. I got it working for the CALL-action string, so my code works:</p>
  
  <pre><code>Intent callIntent = new Intent(Intent.ACTION_CALL, null);
  List&lt;ResolveInfo&gt; resolveInfoList = getPackageManager().queryIntentActivities(callIntent, 0);
  </code></pre>
  
  <p>The problem is the String itself. It says <a href="http://developer.android.com/reference/android/telephony/TelephonyManager.html#ACTION_PHONE_STATE_CHANGED" rel="nofollow">here</a> there is a constant Value "android.intent.action.PHONE_STATE", but I can neither access it from code the way I did with the CALL-action string, neither can I define it in my own Manifest with</p>
  
  <pre><code>&lt;intent-filter&gt; &lt;action android:name="android.intent.action.PHONE_STATE" /&gt;
  </code></pre>
  
  <p>the way I did with the CALL-action string also, as in both situations, there is no such Value.<br>
  I have read about this intent in a paper [2] as well, so I am sure it did exist. So is it gone or can I access it in another way?<br>
  The reason I want to filter apps with that intent: I need all applications that registered a BoradcastReceiver for the PHONE_STATE action string and as far as I know this is done via that exact intent.<br>
  If it works differently now or if I got the string wrong, any hint is very much appreciated!</p>
  
  <p>[2]: On Lightweight Mobile Phone Application Certification - Enck et al.</p>