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
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