Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 2 Support (Qt 5) › Background Music playing while game is in background

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #8648



    Pressing the “Home” button on Android device puts the game in the “Paused” state, however, the background music of the game keeps playing..

    This can be somewhat annoying especially if a phone call comes trough..

    Is there any way around this? I know Android has onPaused() method but I don’t see how this would be connected to Qt..




    • This topic was modified 5 years, 9 months ago by  senadb.

    Felgo Team

    Hi Senad,

    are you using the BackgroundMusic component or a standard Qt Audio component?




    Hi Alex,


    I have used Qt Audio component because BackgroundMusic is not playing the mp3 file when testing on Desktop.

    However, i just noticed that it does play on the android device..  Is this a bug because documentation states that Windows should play mp3 in the BackgroundMusic component..






Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.