Skip to content Skip to sidebar Skip to footer

Can We Detect Which Android Application Is Using The Microphone?

Hello everyone i am new to android ndk and want to find two things: Can we detect whether the microphone is on or not? Can we detect which application is using the microphone? It

Solution 1:

1.

AudioManager am =  Context.getSystemService(Context.AUDIO_SERVICE)
am.isMicrophoneMute()

But I don't know how to do it using NDK (and no one seems to know).

AudioManager documentation

2.

No you can't. And that is a security decision. As @AndiJay said, malicious programs could then be used.


Post a Comment for "Can We Detect Which Android Application Is Using The Microphone?"