search

Home  >  Q&A  >  body text

android - 手机音乐播放器播放时正常 屏幕一黑就自动停止播放,求解答,谢谢

自己写了一个手机音乐播放器,播放时正常 屏幕一黑就会自动停止播放 而且也没有报错 有人知道这是什么问题?

PHP中文网PHP中文网2771 days ago927

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-17 17:24:32

    You have to let people know what your implementation is. Is the mediaplayer written in the activity? If so, the activity life cycle will change when the screen is black. Have you handled it? Please describe your problem clearly. Others can't imagine what the problem is for you out of thin air!

    reply
    0
  • 黄舟

    黄舟2017-04-17 17:24:32

    Forgot about her. . How could I forget her. . . . Let her go. . It's like letting go of sand. . . . . . . .

    reply
    0
  • Cancelreply