Hi All,

When i receive ringing state, i tried to launch an intent to run my
apps.

case TelephonyManager.CALL_STATE_RINGING:
{
        Intent intent = new Intent(context, CallPreferenceActivity.class);
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);




but i noticed that my app is go behind the InCallScreen.



I’ve tried using delay time to make the InCallScreen pop up first,



then launched my app, but still cannot replace on top of the



InCallScreen layer. I have to hang up the call in order to see my app.



Could someone help me?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to