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

New Developer
Posts: 13
Registered: ‎09-29-2008
My Device: Not Specified
Accepted Solution

Showing a dialog when opening an application

Hi there


I need to know is there any way for me to show a Dialog when the user opens up my application?

There would be an error when placing the Dialog code in the constructor.

Does any of you have any sample codes for this?


Thanks in advance.

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

Re: Showing a dialog when opening an application

I believe that by extracting the appropriate bits from the following three KB articles, you should have enough information to be able to do this for yourself.


How To - Display a GUI when the BlackBerry device starts up
Article Number: DB-00539


This talks about displaying a GUI at system startup but the concepts are the same for app startup


How To - Create a splash screen
Article Number: DB-00119


You may not need this if you want to display a Dialog.


How to - Detect system availability on startup 
Article Number: DB-00642


This reinforces points made in the other KB articles.