we did test it on all Android devices we had, and could not reproduce the problem – the sound file was successfully paused when the lock button was pressed and then continued when the app was resumed again.
Can you please try the AudioTest from the V-Play example folder: <QtSDK>/examples/V-Play/examples/multimedia/audio
Maybe it has something to do with your mp3 file or the code you are using. If the AudioTest also does not work, please send us your project and the affected devices and we’ll have a closer look.
(so our wizards do). In your project configuration you’re missing the “targetSdkVersion” attribute, Android then uses the provided min sdk version number, which results in API 9 for your project. This version is missing the required application state handlers and therefore the background music resumed playback.
Please make sure to define a target sdk version of 14 or higher and test it again.