de.enough.polish.ui.splash
Interface ApplicationInitializer


public interface ApplicationInitializer

Initializes the actual application. The SplashScreen is launching a background thread that calls the initApp() method. You can define the preprocessing variable "polish.classes.ApplicationInitializer" for making this interface redundant (which saves some precious JAR space). In that case you must not implement this interface, e.g.

 public class MyMidlet extends MIDlet
 //#if !polish.classes.ApplicationInitializer:defined
    implements ApplicationInitializer, CommandListener
 //#else 
    implements CommandListener
 //#endif
 

Copyright (c) Enough Software 2005 - 2010

 history
        23-Mar-2005 - rob creation
 

Author:
Robert Virkus, j2mepolish@enough.de

Method Summary
 Displayable initApp()
          Initializes the application and returns the first screen that should be shown after the splash screen.
 

Method Detail

initApp

Displayable initApp()
Initializes the application and returns the first screen that should be shown after the splash screen. This method is called by a background thread of the SplashScreen.

Returns:
the first screen that should be shown after the splash screen.