Hi there,
when the user starts my application, then there is a lot of configuration stuff etc to do.
so i decided to display a splashScreen, so that the user can see, the application is running.
before i start with more and more bla bla i show you what i have done so far, and what my problem is:
PHP Code:
public class OrdnerApp extends UiApplication implements KeyListener,TrackwheelListener, FolderListener, ListFieldCallback {
public frmSplashScreen SplashScreen;
private MainScreen _screen;
public static void main(Stringxxx91;xxx93; args) {
OrdnerApp app = new OrdnerApp();
app.enterEventDispatcher();
}
private OrdnerApp() {
SplashScreen = new frmSplashScreen(_screen);
_screen = new MainScreen();
....
_screen.addKeyListener(this);
_screen.addTrackwheelListener(this);
pushScreen(_screen);
pushScreen(SplashScreen);
checkConfigEmail();
....
UiApplication.getUiApplication().popScreen(UiApplication.getUiApplication().getActiveScreen());
}
...
}
So my problem is the following:
i start my application and i see the BB "desktop" after some seconds i see my application, but the mainform and not my splashscreen.
i think, the problem is, the screen is pushed and popped so fast that i can't see it, and the functions between pushing and popping are executet first and then the screenhandling starts.
i there a chance to push the screen first, then doing the other stuff and when it's done to pop the splashscreen? (hope you got an idea of this what i mean ;))
thanks so far.
hibbert