closing button can't kill the application in miniature mode

Hello

I've already finished porting the SDL-based Jooleem on BB10 game. Now, there is a problem:

I may stop game page to quit smoking but can't kill application using X button when in thumbnail mode. Even the application window disappears the game sound continues to be on and fades of application icon cannot be uninstalled.

I searched the forum for how to remove the X button, but the result is depressed. So, how can I catch the X key event, and call the function exit original game? Thank you.

You have the application integrated with events BPS somehow system? I guess it must in some way to make it work at all. If so, you are going to be somewhere with bps_get_event() and want to request events navigator (https://developer.blackberry.com/native/reference/bb10/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_r... and listen for the NAVIGATOR_EXIT event: https://developer.blackberry.com/native/reference/bb10/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_r... )

If this does not help, you may need to describe more about the environment you are using, or investigate yourself how it hangs in the system. Maybe they have already provided this event in a certain way in the framework you use.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • I bought the iPhone 5 c but I phone Cloud is locked.  What can I do to activate the phone?

    unlock phone 5 c

  • Where has the "recent Pages" drop down disappeared?

    For many versions, adjacent to the arriere-boutons of navigation was a small arrow icon to view the history stack and a way to quickly return several levels. It was not only a convenience, which was a necesssity to sites VILLAINS which intercept the

  • KB972270 Win 7, error 80070643

    Hello I recently discovered that my laptop is not updated properly, such as windows update is still stuck at KB972270, giving the error 80070643. I run win 7 and I do not have office 2003, which seems related to the error, the patch is reclassificati

  • Helps administrator (windows vista) password reset

    Is there a way to reset the administrator password in windows vista without having saved the old password on the 'reset password Assistant"? I got this computer with this software, because it was introduced, and I never had a disk backup password. My

  • EA6500 Remote Desktop connection

    Very simple requirement. New EA6500 (Win7Pro) server on local network (Win8Pro) PC on LAN You use Remote Desktop connection to connect PC to the server. The old LinkSys WRT54G worked well. Also tried searching on the web and speaking to support a few