how to send Dtmf tone programmatically during a li

2020-05-03 02:05发布

问题:

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)

回答1:

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.



标签: android dtmf