Class CcmiSplashActivity

  • java.lang.Object
    • Activity
      • uk.ac.qmul.eecs.ccmi.activities.CcmiSplashActivity


  • public class CcmiSplashActivity
    extends Activity
    Splash screen Activity. Shows the splash screen for SPLASH_DELAY millisecond and then starts the main Activity
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int SPLASH_DELAY
      number of millisecond the splash is displayed before starting the main Activity
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void onBackPressed()
      Pressing the back button on the splash screen doesn't kill the activity.
      protected void onCreate(Bundle savedInstanceState)
      Called when the activity is first created.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SPLASH_DELAY

        public static final int SPLASH_DELAY
        number of millisecond the splash is displayed before starting the main Activity
        See Also:
        Constant Field Values
    • Constructor Detail

      • CcmiSplashActivity

        public CcmiSplashActivity()
    • Method Detail

      • onCreate

        protected void onCreate(Bundle savedInstanceState)
        Called when the activity is first created.
      • onBackPressed

        public void onBackPressed()
        Pressing the back button on the splash screen doesn't kill the activity. The user must wait for the main activity to be displayed before exiting the application.