Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to keep playing music when user lock the screen?(Android)
BBFAG3 last edited by
I'm using QMediaplayer on Android, and I found that my code can play music in background(press HOME) if screen is on, or can play music after screen locked if the "Activity"(or UI? I don't know how to explain it) is on. The problem is that if you open the "Activity" and lock the screen, Mediaplayer will finish playing current media but won't jump to the next in playlist.
According to my poor English,I'll use Chinese to repeat this question.
谢谢！Thanks a lot!