I want to play one music repeatedly until user presses the toggle button off..
I am not able to figure out how to do that, Please help
use
MediaPlayer.setLooping(true);
for repeating sound using MediaPlayer.You can find more info about it in setLooping
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With