简体   繁体   English

在Android中接收DTMF

[英]Receiving DTMF in Android

Wanted to know if there is a way to decode the DTMF signals (sent from other phones) into numbers so that the number can be manipulated as required? 想知道是否有办法将DTMF信号(从其他电话发送)解码为数字,以便可以根据需要操作数字?

For eg: If I am pressing 1234 from phone A during a call I should be able to get that 1234 number on the Android phone B. 例如:如果我在通话期间从电话A按1234,我应该可以在Android手机B上获得1234号码。

As far as I know this is not supported yet. 据我所知,这还不支持

You can't tap into the voice call sound stream, so there is no way you can detect DTMF tones by yourself even if you wanted to. 您无法接入语音呼叫声音流,因此即使您愿意也无法自己检测DTMF音频。

I think it is possible by using this project. 我认为通过使用这个项目是可能的。

here is the link 链接在这里

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

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

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