title: how to show call screen while android app running on background
body: <p>Im making a SIP application for android 2.3.3. I can call someone and my "incoming call screen" is shown when some calls me. But when my app is running on the background and someone calls me , the "call screen" isn't been launched. so how can I make it launch like a normal incoming call.</p>
  
  <p><strong>FIXED:</strong></p>
  
  <p>Manifest: add the following code in application tag</p>
  
  <pre><code>  &lt;receiver android:name=".ReceiverTest" android:enabled="true"&gt;
               &lt;intent-filter&gt;
                   &lt;action android:name="com.example.INCOMING_CALL" /&gt;
               &lt;/intent-filter&gt;
    &lt;/receiver&gt;
  </code></pre>
  
  <p>Receiver class: when I receive a call, it will open my Incomingcall page</p>
  
  <pre><code>public class ReceiverTest extends BroadcastReceiver{
  
      @Override
      public void onReceive(Context arg0, Intent arg1) {  
          ...
          Intent nextPage= new Intent("com.example.IncomingPage");
          nextPage.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
          arg0.startActivity(nextPage);   
              ...     
      }
  
  }
  </code></pre>