m_MediaPlayer = MediaPlayer.create(context, soundFromResource); m_MediaPlayer.setVolume(0.99f, 0.99f); m_MediaPlayer.setLooping(true); m_MediaPlayer.setOnCompletionL
After a lot of experimentation with media player, I have found solution to this :
call
m_MediaPlayer.setLoopoing(true)
after
m_MediaPlayer.start()