Android Open Source - ExIm-Guide Splash Screen

From Project

Back to project page ExIm-Guide.


The source code is released under:

GNU General Public License

If you think the Android project ExIm-Guide listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.ExIm_guide;
/*w w w .java2 s. c  o m*/

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import com.ExIm_guide.R;
public class SplashScreen extends Activity {
    // Splash screen timer
    private static int SPLASH_TIME_OUT = 3000;
    protected void onCreate(Bundle savedInstanceState) {
        new Handler().postDelayed(new Runnable() {
             * Showing splash screen with a timer. This will be useful when you
             * want to show case your app logo / company
            public void run() {
                // This method will be executed once the timer is over
                // Start your app main activity
                Intent i = new Intent(SplashScreen.this, Main_menu.class);
                // close this activity
        }, SPLASH_TIME_OUT);

Java Source Code List