I am making a new android sound application. I made a clickable button to play sound when I click on it. But I also want it to stop playing sound when I click for the second
I am using this code to play a sound from the beginning while playing or not.
mp.seekTo(0); mp.start();