本帖最后由 sidney553816092 于 2011-09-17 20:33:29 编辑

解决方案 »

  1.   

    android  sample里面有放音乐的例子,可以看下,你这里放到哪里没有纪录,继续从哪开始放?
      

  2.   

    You can only call pause() when mp is in "Started" or "Paused" state, calling pause when mp is in other states will cause mp enter "Error" state, in which you can not call setDataSource method at all.To verify this, add mp.reset() before calling mp.setDataSource, then you should be able to play the file.Make sure that mp is in the right state before call any method of mp.
      

  3.   

    新版本sdk
    pause后有resume,你这代码看起来是新老混用以前的暂停是用stop,加记录播放位置。然后再播放
      

  4.   

    有人愿意分享一个音乐播放的例子吗??sdk2.0的版本  十分感谢 。网上找了好久没找到
      

  5.   

    冲你头像,多扯几句
    你看看gallery3d的mediapalyer
      

  6.   

    还是没解决啊 。重新播放的时候 又setdatasource了一次 导致播放不了