Outgoing Call Event (Android)

I am currently listening to the "onCallStateChanged" -event, detecting the following:

  • IDLE → OFFHOOK (call attempt)
  • OFFHOOK → IDLE (end call)

Then I read CallLog for more information about the call, such as duration, etc ...

As you can see, I only detect the beginning and end of the call. But I also need information about when the call is connected.

Does anyone know if it is possible to determine if a call is connected?

+4
source share

Source: https://habr.com/ru/post/1662623/


All Articles