I have a very interesting problem.
I was under the impression that when my app uses the microphone, and the Android system process (like incoming or outgoing call) needs the microphone, my app releases it without any consideration.
But i guess that is not the issue anymore, since i have received few complains that when the app is being used and there is incoming call, the other side on the call, can not hear them.
Is there any way to assure that whenever system process requests the microphone, to be released?
Currently, there is no way to check whether another app requests the microphone. However, there are some workarounds:
onPause()
, so that the foreground app can use it. This won't work if you record audio in a background service.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With