播放的音频文件,而在Android上的通话/发送语音提示,以便其他人可以听到吗?而在、音频文件、语音、其他人

2023-09-12 10:42:00 作者:输了你、就输了全世界

我是新来的Andr​​oid和我看了一下播放音频文件,以便其他人可以听到,但他们是安静的有点老了几个博客。我想知道是否有任何更新/解决方法这一问题。如果任何帮助将大大AP preciated。

I am new to android and I have read a few blogs about playing audio file so that other person can hear it but they are quiet a bit old. I was wondering if there were any updates/workarounds for this issue. If any help will be greatly appreciated.

在此先感谢。

推荐答案

您没有从Android应用程序访问的通话音频流。唯一的解决办法是,如果设备处于免提模式 - 你玩什么了扬声器能拾起话筒,显然

You do not have access to the in-call audio stream from an Android application. The only "workaround" is if the device is in speakerphone mode -- what you play over the speaker can be picked up by the microphone, apparently.