Getting DTMF signals when receiving a call on Android

社会主义新天地 提交于 2019-12-12 19:15:36

问题


Is there any way to receive and identify DTMF signals when you get a phonecall? I found these two functions (extractNetworkPortion & extractPostDialPortion), but I can't seem to get DTMF signal send by phonecalls.

Also, what is the shortest delay you can have for sending DTMF signals when calling someone?


回答1:


Unfortunately this is not possible in standard Android platform (as of the latest version, 3.1)




回答2:


It is not in SDK but you can make it.

Look at this project :

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



来源:https://stackoverflow.com/questions/6028581/getting-dtmf-signals-when-receiving-a-call-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!