检查电话的远程状态 [英] Checking the status of a phone call remotely

查看:196
本文介绍了检查电话的远程状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要开始一个电话呼叫的状态是通过连接的PC,如果可能的话与亚行后检查。
我输入一个电话号码与ADB命令服务呼叫电话2 S16的一些电话号码然后再送输入的KeyEvent 5开始呼叫来preSS呼叫按钮。

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 the adb command service call phone 2 s16 "some phone number" and then sending input keyevent 5 to press the call button.

现在我struggeling找到一种方法来确定呼叫的状态。我需要知道,如果数量获取调用正忙,如果呼叫被取消了,或者如果电话是全成/我有一个开放的语音连接到被叫号码。
是否有监视的方法吗?

Now I'm struggeling to find a way to determine the status of the call. I need to know if the the number getting called is currently busy, if the call got cancelled or if the call was successfull/that I have an open voice connection to the called number. Is there any way of monitoring that?

手机型号其实并不重要,也不是机器人服务/应用程序我用呼叫的号码,也没有Android版本。手机会/扎根。我会使用任何的工作。

The phone model really doesn't matter nor the android service/app I use to call the number nor the android version. The phone will be/is rooted. I will use whatever works.

推荐答案

要叫<一个href=\"http://developer.android.com/reference/android/telephony/TelephonyManager.html#getCallState%28%29\"相对=nofollow> TelephonyManager.getCallState()亚行外壳是:

service call phone 30

这篇关于检查电话的远程状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆