Forums

OverviewV-Play 2 Support (Qt 5)BackgroundMusic Issue › Reply To: BackgroundMusic Issue

OverviewV-Play 2 Support (Qt 5)BackgroundMusic Issue › Reply To: BackgroundMusic Issue
#8410

Alex
V-Play Team

Hi,

thank you for the project files you sent via email. We could initially reproduce the problem and were also able to fix it. We found a faulty configuration in the AndroidManifest.xml file:

All Qt-related projects usually include the line:

<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14" />

(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.

Cheers,

Alex

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support