Apparently this is the Best example I found to push and Pop Screen.  Everything is working so far. Only issue having after adding the second but which can not navigate to other screen. There got to be a way to do it. 
http://stackoverflow.com/questions/1123414/how-to-navigate-back-to-the-previous-screen-in-blackberryI am looking for the other excellent Article which might have the solution. 
Found another Solution and have to try this: 
The following function should fix my screen issue
- public void switchScreen(final Screen nextScreen) {
 - final UiApplication ui = UiApplication.getUiApplication();
 - final Screen currentScreen = ui.getActiveScreen();
 - if (UiApplication.isEventDispatchThread()) {
 - ui.popScreen(currentScreen);
 - ui.pushScreen(nextScreen);
 - } else {
 - ui.invokeLater(new Runnable() {
 - public void run() {
 - ui.popScreen(currentScreen);
 - ui.pushScreen(nextScreen);
 - }
 - });
 - }
 - }
 
No comments:
Post a Comment