Replace native outgoing call Screen by custom screen android

后端 未结 3 659
眼角桃花
眼角桃花 2021-02-11 06:37

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 06:58

    The best way to do so is develop your own Phone app and expect the user to set it as the default app for making calls.

    Edit:

    Add an Activity which accepts ACTION_DIAL intent and have a numeric keypad and then once user has entered the call number, you can fire ACTION_CALL intent with the phone number which would invoke the native phone app. This way also, the user has to select your app to be set as default one for ACTION_DIAL intent.

提交回复
热议问题