日期:2014-05-20  浏览次数:20693 次

如果循环播放歌曲
手机里有好多首歌曲~怎么实现循环播放这些歌曲呢~给个demo~谢谢




------解决方案--------------------
去看看Player的状态流程图吧
A Player stops when it reaches the end of media; or when the stop method is invoked. When that happens, the Player moves from the STARTED state back to the PREFETCHED state. It is then ready to repeat the cycle.
你只需要根据状态来判断就可以达到你的要求了..