Replace native outgoing call Screen by custom screen android

后端 未结 3 1524
南方客
南方客 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条回答
  •  猫巷女王i
    2021-02-11 07:12

    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.

提交回复
热议问题