answer incoming phone call from my application
<p>I want to make my application answer the phone calls so I can have the ability to do some processing before allowing the user to answer maybe just display my activity over the InCallScreen but I can't accomplish this.
when I used intentFilter with <code>&lt;action android:name="android.intent.action.ANSWER"&gt;&lt;/action&gt;</code> when incoming call the InCallScreen start and not my activity and when using broadcastReciever with <code>&lt;action android:name="android.intent.action.PHONE_STATE"&gt;&lt;/action&gt;</code> I can't use abortBroadcast() method because its non-ordered broadcast.<br/>
Any help please<br/></p>

<p>EDIT 1<br/>
I managed to display my activity over the InCallScreen by wait 1 second before starting my activity in onReceive of broadcastReceiver method but the InCallScreen is displayed first for portion of time which may allow the user to answer before the processing start and if I reduced the time to wait this may cause InCallScreen to be displayed above my activity. Any other solution will be appreciated.</p>
