jl1990
jl1990

Reputation: 107

How to know if a call has been established?

Well, I did a program to make a call to any number of my contact list and it works like a charm. The problem is that I would like to know if the connection has been estabilished (the other person has picked up the phone), and I have not any idea about how to do it.

Is there something like an interrupt that can alert me when the connection has been estabilished?

Upvotes: 4

Views: 2438

Answers (1)

Ilya Gazman
Ilya Gazman

Reputation: 32221

listen to the broadcast ACTION_PHONE_STATE_CHANGED, for more information check this out here

Upvotes: 3

Related Questions