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
Hey please use following
for stop -> media player mp.seekTo(0); mp.pause();
mp.seekTo(0); mp.pause();
again for start just call mp.start();