简体   繁体   English

在Android上接听电话时获取DTMF信号

[英]Getting DTMF signals when receiving a call on Android

Is there any way to receive and identify DTMF signals when you get a phonecall? 接到电话时,有什么方法可以接收和识别DTMF信号? I found these two functions ( extractNetworkPortion & extractPostDialPortion ), but I can't seem to get DTMF signal send by phonecalls. 我发现了这两个函数( extractNetworkPortionextractPostDialPortion ),但是我似乎无法通过电话呼叫发送DTMF信号。

Also, what is the shortest delay you can have for sending DTMF signals when calling someone? 另外,呼叫某人时发送DTMF信号的最短延迟是多少?

不幸的是,这在标准的Android平台上是不可能的(最新版本为3.1)

It is not in SDK but you can make it. 它不在SDK中,但您可以实现。

Look at this project : 看这个项目:

http://code.google.com/p/dtmf-decoder/source/checkout http://code.google.com/p/dtmf-decoder/source/checkout

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM