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: 329
Registered: ‎12-17-2010
My Device: Not Specified
My Carrier: developer

popup Screen problem

hiiii all


in my application when i open the app i want get the current gpslocation before app is opened for that i created one popUp Screen and with two Buttons and i wrote one statement at the end of my homeScreen is 




But here i am getting Runtime Exception 

please help me how to push a popup Screen when i open the application itself 

New Developer
Posts: 27
Registered: ‎03-03-2011
My Device: BB 9700
My Carrier: Vodafone

Re: popup Screen problem

Abstract and post code and stack at Exception.

Kinda impossible to try to help you otherwise!


By abstract i mean isolate the section that is causing the Exception into a new project in case project is confidencial.

Posts: 174
Registered: ‎01-25-2011
My Device: Not Specified

Re: popup Screen problem

Did u try directly using pushScreen, instead of pushModalScreen??

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: popup Screen problem

It would be helpful to know what exception you are getting to.  Normally the exception.toString() method provides a very useful clue as to the problem.