How to retain device audio?

How to retain device audio?

When my cocos2d-x android app boots up it cuts the audio that was playing on the device, e.g. spotify, or whatever. Is there a way to stop this happening to the player can continue to listen to their own music while playing?

many thanks


This happens on all mobile platforms at this time. I don’t have a single game on my phone that lets me listen to music as I play the game.

1 Like

I have android games that don’t kill the music… Chess Free by AI Factory, for example. I need to do the same

Yes, it is possible. I dont have link for Android but this is what i use for iOS.

I think same way you will find for Android too.

1 Like

Thanks - looks good for iOS. Finding the same for Android is proving to be the tricky part! :slight_smile:

Can no one help with this? Should be simple!