如何知道一个呼叫已经建立? [英] How to know if a call has been established?
本文介绍了如何知道一个呼叫已经建立?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗯,我做了一个计划,打电话到任意数量的我的联系人列表中,它就像一个魅力。问题是,我想知道,如果连接已estabilished(其他人并拿起电话),我有没有关于如何做到这一点的想法。
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.
有没有类似的东西,可以提醒我,当连接已经estabilished中断?
Is there something like an interrupt that can alert me when the connection has been estabilished?
推荐答案
收听广播ACTION_PHONE_STATE_CHANGED,以获取更多信息检查了这一点的这里
listen to the broadcast ACTION_PHONE_STATE_CHANGED, for more information check this out here
这篇关于如何知道一个呼叫已经建立?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文