Dray Dray - 1 month ago 10
Android Question

Media Player Looping : Android

I am having 3 secs of mp3 file. I want to play that mp3 file continuously still the user click pause button. Is there any method to loop the single file and play it again again till user pauses it.

Answer
mMediaPlayer.setLooping(true);