Call Reciver makes my app "force close"
<p>it all works fint till i answer the phone call,then a few seconds later and i get a "force close" message...any idea what is wrong?</p>

<pre><code>     public void onReceive(Context context, Intent intent) { 
    // TODO Auto-generated method stub
    TelephonyManager telephony = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);
    PhoneStateListener imPhoneListener = new PhoneStateListener();
    telephony.listen(imPhoneListener, PhoneStateListener.LISTEN_CALL_STATE);
    Bundle bundle = intent.getExtras();
    String phoneNr= bundle.getString("incoming_number");
    Intent intent1=new Intent("android.intent.action.Checker");
    intent1.putExtra("phoneNr", phoneNr);
    context.startActivity(intent1);
}                      
</code></pre>

<p>oh and by the way, how can i promise that my call reciver always work first even if the app is in the background?</p>
