![]() |
Push a new screen on a menu item select - Beginner help Guys i am very new to the world of blackberry. I have one question now. I have created a small application where i will have a MAIN screen displaying some components. But when the user presses the menu and select a menu option i need to push another screen containing different set of components.My sample code is as follows Code: But as soon as i press the menu i am getting a null pointer exception . please help |
This: UiApplication.getUiApplication().(new ContactAddScreen()); Should be: UiApplication.getUiApplication().pushScreen(new ContactAddScreen()); |
| All times are GMT -5. The time now is 01:35 AM. |
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.