How to modify incoming and outgoing call screen view in android
35,150
Solution 1
You cannot modify default screen but instead of this you can launch your screen for that you need to use BroadCastReceiver for incoming calls
here is the link for getting phone state in broadcast receiver
http://www.tutorialforandroid.com/2009/01/get-phone-state-when-someone-is-calling_22.html
Solution 2
You have to write a broad cast receiver for incoming calls the Pratiks answer have the tutorial for that.Then simply make a pop up window over the default screen. you can call the pop up class from the broadcast receiver. hope you got it:)
Comments
-
Poovizhirajan N almost 2 years
I want modify below screen according to my option.
I don't know how to access this screen.
and i need to modify this screen also
Please help me to do this.
-
Poovizhirajan N about 11 yearsI will try it and tell you bro
-
Poovizhirajan N about 11 yearsOk brother i will try it and reply u
-
Poovizhirajan N about 11 yearshow can i call pop up class from broadcast receiver pls help me
-
Jashan PJ about 11 yearscheck the broad cast receiver of this question stackoverflow.com/questions/15683952/…
-
Poovizhirajan N about 11 yearsthe screen will appearing after call got attened or rejected only... on call state ringing it will not moving the activity
-
Jashan PJ about 11 yearsDid you implement this??String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); Log.d("IncomingBroadcastReceiver: onReceive: ", state); if (state.equals(TelephonyManager.EXTRA_STATE_RINGING) || state.equals(TelephonyManager.EXTRA_STATE_OFFHOOK)) {
-
Poovizhirajan N about 11 yearsyes i implemented after accept the call only it wil going to that activity
-
Jashan PJ about 11 yearsokey, let me check I will reply you tomorrow if I got anything useful.
-
Poovizhirajan N about 11 yearsyes i implemented after accept the call only it wil going to that activity