Replace native outgoing call Screen by custom screen android

后端 未结 3 1508
南方客
南方客 2021-02-11 06:25

I am trying to launch my custom screen on top of native outgoing caller screen that may contain full Screen image of Caller and some buttons for actions like reject call. Using

3条回答
  •  梦谈多话
    2021-02-11 07:20

    You don't need to create a separate application. Ultimately you just want to handle the new outgoing call requests,so create a BroadcastReceiver to listen the event of ACTION_NEW_OUTGOING_CALL,and create an Activity to invoke upon that event.

    you will need to specify permission in manifest file about PROCESS_OUTGOING_CALLS.

    Have a look at some references:

    handling-phone-call-requests-right-way

    android-dialer-application

    I hope it will be helpful !

提交回复
热议问题