Audio Play on Button Click Event in Android
Android provides audio play in our application to us. For this we must write some code and copy an audio file on our project. Firstly we create a directory in project resources (res) directory. This name can be “raw”. Then we are copying audio file to this folder. I assuming audio file’s name “test.mp3”.