I am a total nub to JDE programming. I am trying to develop a Consent Notice that will pop up every time a user turns on their handheld. Nothing elaborate just a something like a Hello World program that pops up after start. This is what I have so far.
* BlackBerry applications that provide a user interface
* must extend UiApplication.
public class Notice extends UiApplication
public static void main(String args)
//create a new instance of the application
//and start the application on the event thread
Notice theApp = new Notice();
//display a new screen
//create a new screen that extends MainScreen, which provides
//default standard behavior for BlackBerry applications
final class NoticeScreen extends MainScreen
//invoke the MainScreen constructor
//add a title to the screen
LabelField title = new LabelField("Consent Notice",
LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
//add the text I've read & consent to terms in IS user agreement to the screen
add(new RichTextField("I've read & consent to terms in IS user agreement."));
//override the onClose() method to display a dialog box to the user
//with "Thank You!" when the application is closed
public boolean onClose()
I have the project set to Auto-Run on Startup. I can see the app starting in the debugger, just canít get it to pop up in the foreground like I need it to. Any ideas on how I can get my app to pop up on startup?