Android - How to detect outgoing call is answered or received?

后端 未结 3 2053
不思量自难忘°
不思量自难忘° 2021-02-10 03:57

Is there any way to detect outgoing call is successfully received or answered ? I am using Intent.ACTION_CALL for dialing a call and PhoneCallListener

3条回答
  •  离开以前
    2021-02-10 04:18

    You need to use a combination of RINGING state and OFFHOOK state to figure out if the call is answered.

    See this thread for actual code on how to achieve this.

提交回复
热议问题