Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

how to send Dtmf tone programmatically during a live call in android?

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)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...