how to add a dial number and press the `call` bottom?

前端 未结 1 1855
北恋
北恋 2021-01-29 10:56

I want to trigger an intent that opens the dialer adds a number and then

presses the call bottom.

Is there any way to do the press bo

相关标签:
1条回答
  • 2021-01-29 11:56

    You cannot "press the call button". You can use ACTION_CALL (instead of ACTION_DIAL), which will directly place the phone call. This requires the CALL_PHONE permission and will not work for emergency numbers (e.g., 911 in the US).

    0 讨论(0)
提交回复
热议问题