08-01-2012 01:39 PM
08-01-2012 05:18 PM
I presume that you have based you code on this KB article.
This code is intended to go in a separate source file called SplashScreen.java.
The first screen you push is the SplashScreen, not your own screen and the trick is that you pass in the screen you want to display second.
So in your Applications constructor, instead of
pushScreen (new MyappMainScreen ());
you should do something like:
MainScreen firstApplicationScreen = new MyappMainScreen();
SplashScreen splash = new SplashScreen(this, firstApplicationScreen);
I think restructuring the code will help you sort out where your problems are.