Back to project page binghamton_svc.
The source code is released under:
MIT License
If you think the Android project binghamton_svc listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.chrzhang; /* www. ja v a 2 s. co m*/ import com.github.chrzhang.R; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; /** * Displays the club logo on start-up. * @author Christopher Zhang */ public class SplashScreen extends Activity { // Splash screen timer private static int SPLASH_TIME_OUT = 500; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_splash); getActionBar().hide(); new Handler().postDelayed(new Runnable() { @Override public void run() { Intent i = new Intent(SplashScreen.this, MainActivity.class); startActivity(i); finish(); } }, SPLASH_TIME_OUT); } }