I'm trying to make an application that'll react when a sharp and loud sound will be heard in my tablets microphone.
What I want to know is if it's possible to trigger such an event and is it possible to set some sort of threshold for the sound level of the input.
Thanks