Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 23
Registered: ‎01-30-2011
My Device: Not Specified

pushScreen not working on device



I have a menuitem that launches a new screen when pressed. It works fine in the simulator, but nothing opens when I click the menuitem on my device. I have tried using the eventlock synchronized and the invokelater method to no avail.


I don't see anything coming up in the debug console. It has also worked before on my device, but for some reason it doesn't anymore. I have checked all the application permissions and changed them to allow (this also didn't work). 


 MenuItem settings = new MenuItem("Settings", 0, 0)



        public void run()



        UiApplication.getUiApplication().pushScreen(new SettingsPage());             




Any help on this would be much appreciated!!



Super Contributor
Posts: 257
Registered: ‎05-05-2011
My Device: 9700
My Carrier: AT&T

Re: pushScreen not working on device

what simulator and what device, what OS do you use?