Android: Listener to record sound if any sound occurs

后端 未结 3 1126
眼角桃花
眼角桃花 2020-12-25 08:52

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

3条回答
  •  遥遥无期
    2020-12-25 09:33

    Please visit the Android developers page about Audio Capture.

    It has a sample code that demonstrates how to captures and play sounds.

提交回复
热议问题