How to know if a call has been established?

夙愿已清 提交于 2019-12-21 05:22:34

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/8955024/how-to-know-if-a-call-has-been-established

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!