This simple Android app listen for sounds and record them if volume is over a defined value
Android class AudioRecorder is used to capture raw audio data in PCM format, then if volume (root means square of PCM data chunk) is over the trigger value, starts recording to sdcard in MPEG4 format.