]Pop up window over android native incoming call screen like true caller android app
I am developing an broadcast receiver for in coming calls in android and on getting incoming calls I want to inflate an pop up over native incoming call screen.
I have made that code completed. But now problem is that in android jelly bean api level 17 when a phone rings the PHONE_STATE is coming as OFF HOOK and If I am calling an activity, it get called but the code under it doesn't get executed I am giving you the code.
My broadcast reciver
An the activity which I am calling
After
The code is not executing in jelly bean but in other version it is working.
I have tried almost all ways I can do. This code is displaying an translucent activity over native call screen and it doesn't block background controls like picking up the phone. But I want it like true caller. I have attached an snapshot how true caller is displaying an window on incoming call screen.
Please guide me through the way How can I achieve this functionality for android app.
This is how true caller works
And my present output
I am developing an broadcast receiver for in coming calls in android and on getting incoming calls I want to inflate an pop up over native incoming call screen.
I have made that code completed. But now problem is that in android jelly bean api level 17 when a phone rings the PHONE_STATE is coming as OFF HOOK and If I am calling an activity, it get called but the code under it doesn't get executed I am giving you the code.
My broadcast reciver
An the activity which I am calling
After
The code is not executing in jelly bean but in other version it is working.
I have tried almost all ways I can do. This code is displaying an translucent activity over native call screen and it doesn't block background controls like picking up the phone. But I want it like true caller. I have attached an snapshot how true caller is displaying an window on incoming call screen.
Please guide me through the way How can I achieve this functionality for android app.
This is how true caller works
And my present output