Package uk.ac.qmul.eecs.ccmi.activities
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 forSPLASH_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
-
Constructor Summary
Constructors Constructor and Description CcmiSplashActivity()
-
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.
-
-
-
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
-
-
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.
-
-