This article applies to BlackBerry® smartphones based on Java® technology.
In situations where a BlackBerry smartphone application needs to present graphical alerts or information to the BlackBerry smartphone user, it will extend UiApplication. By extending UiApplication, the application will also be shown in the list of applications in the task switch screen.
If the background application does not contain any screens that you want to be shown in the task switch screen and yet want to display information to the BlackBerry smartphone user, the following method will display a global status screen from a background application that extends Application.
UiEngine ui = Ui.getUiEngine();
Screen screen = new Dialog(Dialog.D_OK, "Look out!!!",