how to send Dtmf tone programmatically during a li

2020-05-03 01:45发布

I Want to send DTMF Tones programmatically in my app. While searching i found a method

public void playDtmfTone (char digit)

Is this a new update by google in android to send DTMF or still we have to wait.

http://developer.android.com/reference/android/telecom/Call.html#playDtmfTone(char)

标签: android dtmf
1条回答
Melony?
2楼-- · 2020-05-03 02:27

There are the so called audio streams, and so there must be a way of playing tones over the AudioManager.STREAM_VOICE_CALL or AudioManager.STREAM_DTMF ones. Actually Skype does this.

But what you can't do for sure is to play tones over a call made from other app.

查看更多
登录 后发表回答