Managing phone calls on Android

-1

My application needs to know two pieces of information (the ones I did not find in the Android developers:) when a call ends and if it has spent some balance on the phone.

I have already found the IDLE , OFFHOOK and RINGING states, but not the terminated link status. ..

    
asked by anonymous 13.04.2014 / 17:04

1 answer

1

"Connection terminated" is not a state. It's a transition from one state to another.

IDLE is what you are looking for. If an IDLE happens after an OFFHOOK it is because a call has ended.

    
13.04.2014 / 20:26