Blackberry java app running in background
-
13-09-2020 - |
Question
I would like to exit the application with 2 different ways: - When key "escape" pressed, the application exit but still run in background. - When the user select "Close" in the menu to close the application totally. This is already working as it is the default behavior.
In my MainScreen class, I have overwritten the close() method that call super.close() at the end in order to close the screen.
Thank you
Solution
See the method Application.requestBackground()
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow