Android USB OTG设备:如何关闭连接到Android电话的USB OTG设备

发布于 2025-02-13 19:09:41 字数 155 浏览 0 评论 0原文

我正在使用使用OTG套筒(设备)作为音频源的应用程序。但是问题在于,OTG设备没有集成到它的芯片。因此,每当打电话时,都会听到回声。 是否有任何方法可以阻止OTG设备成为音频源或在电话中通过应用程序以编程方式关闭USB设备? 我正在寻找一种使用Android应用程序禁用USB OTG设备的方法。

I am working on an application which makes use of OTG Sleeve(device) as an audio source. But the problem is that the OTG device does not have a de-echoing chip integrated to it. So, an echo is heard whenever a phone call is made.
Is there any way to stop OTG device from being an audio source or turn off the usb device programmatically from the app during the phone call?
I am looking for a way for the android application to disable the usb otg device.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文