Hi, I tried that idea. I make my own dialog box and push it to the display, like this:
Code:
cancelDialog = new CancelDialog("synchronizing...", new String[] {"Cancel"},
new int[] {Dialog.CANCEL}, Dialog.CANCEL, Bitmap.getPredefinedBitmap(Bitmap.INFORMATION));
UiApplication.getUiApplication().pushGlobalScreen(cancelDialog, 0, UiEngine.GLOBAL_MODAL);
..but when I want to close it, nothing happens, doesn't throw an exception even. I used several ways to close it.
1)
Code:
cancelDialog.cancel();
cancelDialog.close();
UiApplication.getUiApplication().repaint();
2)
Code:
UiApplication.getUiApplication().popScreen(cancelDialog);
...or something like this. I have no idea what is wrong.