05-09-2014 05:02 AM
I got audio working in my app. i would like to pause the audio when the user enters background and restart it when they come back from background. is there a message i can listen for?
right now the only messages i seem to be getting are touch messages.
Solved! Go to Solution.
05-09-2014 05:34 AM - edited 05-09-2014 05:35 AM
You can use Application's fullscreen() and thumbnail() signals...
05-09-2014 06:06 AM
05-09-2014 09:25 AM
If you are not using Cascades at all (ie, you are building a pure OpenGL app like a game or something), you need to use BPS and start requesting navigator events (https://developer.blackberry.com/native/reference/
Specifcally, I believe the one you want is NAVIGATOR_WINDOW_STATE