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:)

Share:
35,150
Poovizhirajan N
Author by

Poovizhirajan N

Think Different to Successful In Your Life.

Updated on August 02, 2022

Comments

  • Poovizhirajan N
    Poovizhirajan N almost 2 years

    I want modify below screen according to my option.

    I don't know how to access this screen.

    enter image description here

    and i need to modify this screen also

    enter image description here

    Please help me to do this.

  • Poovizhirajan N
    Poovizhirajan N about 11 years
    I will try it and tell you bro
  • Poovizhirajan N
    Poovizhirajan N about 11 years
    Ok brother i will try it and reply u
  • Poovizhirajan N
    Poovizhirajan N about 11 years
    how can i call pop up class from broadcast receiver pls help me
  • Jashan PJ
    Jashan PJ about 11 years
    check the broad cast receiver of this question stackoverflow.com/questions/15683952/…
  • Poovizhirajan N
    Poovizhirajan N about 11 years
    the screen will appearing after call got attened or rejected only... on call state ringing it will not moving the activity
  • Jashan PJ
    Jashan PJ about 11 years
    Did 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
    Poovizhirajan N about 11 years
    yes i implemented after accept the call only it wil going to that activity
  • Jashan PJ
    Jashan PJ about 11 years
    okey, let me check I will reply you tomorrow if I got anything useful.
  • Poovizhirajan N
    Poovizhirajan N about 11 years
    yes i implemented after accept the call only it wil going to that activity