我有MP3文件的3秒。我想连续播放MP3文件还是用户点击暂停按钮。有没有什么方法来回路单一的文件,直到用户暂停了一遍再次播放。
解决方案 mMediaPlayer.setLooping(真正的);
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.
解决方案mMediaPlayer.setLooping(true);