07-03-2010 07:44 AM
What I have done in my application is:
1.) I am pushing a global PopupScreen from background application.
UiEngine ui = Ui.getUiEngine();
MyScreen screen = new MyScreen()
ui.pushGlobalScreen(screen, 1, UiEngine.GLOBAL_QUEUE);
2.) Added KeyListener to this screen.
3.) If user presses any Key, I am getting its event.
4.) Now, I want to remove this screen from top of the stack.
07-04-2010 01:53 PM
You can also call the screen's onClose() method. That checks whether it is okay to close the screen (basically, whether there are unsaved changes), then calls popScreen().
It doesn't sound like you need that extra functionality, but I thought I'd mention it.