This is the correct way to handle phone call requests:
http://android-developers.blogspot.com.br/2013/05/handling-phone-call-requests-right-way.html
Question
Let the question is i am using a broadcast receiver to listen the incoming or outgoing call. and i want if there is any incoming or outgoing call my activity brought in front or top of the UI of calling screen. I tried almost every solution like Thread priority and add flags to the intent but cant able to brought in front activity. please tell me solution Thanks in advance
Solution
This is the correct way to handle phone call requests:
http://android-developers.blogspot.com.br/2013/05/handling-phone-call-requests-right-way.html