In my application I want to implement methods which record the sound if any sound occurs.
Something similar like this app: Talking Tom Cat
So what should I h
Please visit the Android developers page about Audio Capture.
It has a sample code that demonstrates how to captures and play sounds.