Alert based splashscreen in Java ME
This code snippet shows a simple splashscreen created using a Java ME "Alert".
See Also
Article Metadata
public void splashScreen(
Display d, Displayable next ){
Image logo = null;
try {
logo = Image.createImage(
"/images/splashscreen.png" );
}
catch( IOException e ){
}
Alert a = new Alert( "SplashScreen",
"",
logo, null );
a.setTimeout( Alert.FOREVER );
display.setCurrent( a, next );
}


(no comments yet)