且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android的双音多频发送音频压倒一切

更新时间:2023-01-23 17:32:43

在我的应用程序,我发送DTMF音(使用空白,)。 请参见下面的code。如果你把号码为:12345,6,7会拨打12345和发送​​6和7作为DTMF音频与差距

In my application, I am sending DTMF tones (with gap using ","). Please see the code below. If you put number as: 12345,6,7 it will dial 12345 and send 6 and 7 as dtmf tone with gap.

String url = "tel:" + number;
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(url));
startActivity(intent);