Checking the status of a phone call remotely

前端 未结 6 1364
情深已故
情深已故 2020-12-18 13:59

I want to check after starting a phone call what the status of the call is via a connected PC, if possible with the ADB. I\'m starting a call by entering a phone number with

6条回答
  •  醉话见心
    2020-12-18 14:35

    Run adb logcat|grep -i currentCallState

    You will get the logs:

    D/PhoneUtils( 1242): setAudioMode() currentCallState : DIALING

    D/PhoneUtils( 1242): setAudioMode() currentCallState : DIALING

    D/PhoneUtils( 1242): setAudioMode() currentCallState : DIALING

    D/PhoneUtils( 1242): setAudioMode() currentCallState : DIALING

    D/PhoneUtils( 1242): setAudioMode() currentCallState : ALERTING

    D/PhoneUtils( 1242): setAudioMode() currentCallState : ACTIVE

    D/PhoneUtils( 1242): setAudioMode() currentCallState : DISCONNECTING

    D/PhoneUtils( 1242): setAudioMode() currentCallState : IDLE

    DIALING - Still dialing ALERTING - Ringing DISCONNECTING - Clicked Disconnect IDLE - Back to normal state

提交回复
热议问题