activity not getting loaded when user called a number from contact list its getting launched after the calling screen
<p>I m doing a simple project in which user gets notified of its agenda when he receives the call or perform a call. </p>

<p>I have done these things but had a problem when user calls a number in contact list by selecting it through contact list the <code>activity</code> is not popup at start up its gets launched after the calling screen it works fine if user type the number and then press a calling button the <code>activity</code> gets pop up properly.</p>

<p>But don't know why its not working properly when user calls from contact list or call log.</p>

<p>I have used the <code>Broadcast Receiver</code>.</p>

<p><code>android.intent.action.PHONE_STATE</code> for getting receiver when incoming call.
<code>android.intent.action.NEW_OUTGOING_CALL</code> and for getting receiver when outgoing call.</p>

<p>I think <code>NEW_OUTGOING_CALL</code>  is giving the problem as its run when the outgoing call is made by typing the mobile no. </p>

<p>please help me out</p>
