I am running into an issue where the music will continue to play when I press the home button on an android device.
AppDelegate::applicationDidEnterBackground() I have
This works but the loading time of the app coming out of sleep mode is taking a long time. So I tried fixing it by commenting out
this.mGLSurfaceView.onResume(); in Cocos2dxActivity.java.
But the result is that the music will continue to play when the home button is pressed.
Does anyone have a work around for this issue?
Thanks in advance!