try {
Dialog dialog = new Dialog(Dialog.D_OK, "Banner Test", 0, null, 0);
BatteryStatus battery = new BatteryStatus();
battery.setDisplaySetting(BatteryStatus.BATTERY_VISIBLE_ALWAYS);
dialog.add(battery);
dialog.add(new WirelessStatus());
dialog.add(new WirelessStatus(WirelessStatus.DISPLAY_DESCRIPTOR, false));
dialog.add(new WirelessStatus(WirelessStatus.DISPLAY_SIGNAL, true));
dialog.add(new WirelessStatus(WirelessStatus.DISPLAY_WIFI, true));
dialog.add(new Notifications());
dialog.add(new TimeDisplay());
UiApplication.getUiApplication().pushGlobalScreen(dialog, UiApplication.GLOBAL_SHOW_LOWER, 0);
Application.getApplication().requestBackground();
} catch (Exception e) {