如何捕捉dialpads pressed按钮的价值? [英] how to catch the value of dialpads pressed button?

查看:135
本文介绍了如何捕捉dialpads pressed按钮的价值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发制作和接收呼叫的SIP应用。为了这个目的我做开源项目 SipDroid 分析。在该项目中,他们是如何捕获被发送到特定的方法制作一个SIP呼叫 dialpads pressed按钮的值。

I am developing a SIP application for making and receiving a call. For that purpose I did analysis on open source project SipDroid. in that project how they catch the value of dialpads pressed button which is sent to the particular method for making a SIP call.

我试图找到code表示的任务,但我没有得到anything.in哪个文件code是驻留于捕捉的 SipDroid 项目?

I tried to find the code for that task but I didn't get anything.in which file the code is resides to catch that value in SipDroid project?

推荐答案

在SipDroid的调用由SipdroidEngine处理:

The calls in SipDroid are handled by the SipdroidEngine:

org.sipdroid.sipua.SipdroidEngine

这是处理初始操作的方法是用签名公共布尔调用(字符串target_url,布尔力) - 它的呼叫转移到了SipDroid的UserAgent类等,直到它到达网络传输层。只是检查这个调用方法的引用在整个项目中,看看它的使用。

The method that handles the initial operation is with signature public boolean call(String target_url,boolean force) - it transfers the call to the SipDroid UserAgent class and so on, until it reaches the network transport layer. Just check the references of this call method in the whole project and see where it's used.

这篇关于如何捕捉dialpads pressed按钮的价值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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