如何在 Android SDK 中以编程方式拨打电话号码?

发布于 2024-09-08 06:15:50 字数 198 浏览 2 评论 0原文

如何在 Android SDK 中以编程方式执行此操作:

  1. 拨打电话号码
  2. 绕过键盘屏幕
  3. 拨打号码后发送额外的 DTMF
  4. 绕过发送 DTMF 提示音

我已经通过拨打 +555-1212w1234 设法做到了 1 到 3,但我想知道是否有人知道如何绕过发送 DTMF 提示音。

How do you programatically do this in the Android SDK:

  1. Dial a phone number
  2. Bypass the keypad screen
  3. Send additional DTMF after the number is dialed
  4. Bypass the send DTMF tone prompt

I have managed to do 1 till 3 by dialing +555-1212w1234 but I am wondering if anyone knows how to bypass the send DTMF tone prompt.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浅听莫相离 2024-09-15 06:15:50

此时您无法将 DTMF 代码注入呼叫音频流中。现在正在讨论一些关于将此功能添加到 Android 的提案。

对不起!

You cannot inject DTMF codes into the call audio stream at this time. There are some proposals being discussed now for adding this capability to Android.

Sorry!

怪我鬧 2024-09-15 06:15:50

你的#4 是不可行的。您能做的最好的事情是 1 到 3。我使用逗号 (,) 来停顿 2 秒,并根据需要添加更多逗号。

Your #4 is not doable. The best you can do is 1 to 3. I use comma (,) for 2 second pause, and add more commas if needed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文