How to play native camera sound on Android

I would like to play native camera shutter sound clip on camera preview capture. I’m referring to the sound clip played when takePicture() is called.
How could I that? Can someone walk me through the steps?

Answer

This resource explains how to play audio files:
https://developer.android.com/guide/topics/media/index.html

You’ll probably have to provide your own shutter sound effect.

Leave a Reply

Your email address will not be published. Required fields are marked *