Reputation: 659
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
Upvotes: 7
Views: 2413
Reputation: 132992
use
MediaPlayer.setLooping(true);
for repeating sound using MediaPlayer.You can find more info about it in setLooping
Upvotes: 8