Music is stopped when starting Game(Android)

The user play music in another music app.
when user play the game.
music app stopped music.

Isn’t that an operating system decision?

What apps are involved?

Which one is playing music?

What version of Android?

What version of Cocos2d-x?

How is the Cocos2d-x app playing the games music?

This is by design of the cocos Android app. The cocos app requested the sound focus and this way all other music apps will be stopped.

It’s the same issue as described in Android background music

1 Like