Back to project page ihatecolor_and.
The source code is released under:
Copyright (c) 2013, Sewon Ann All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * ...
If you think the Android project ihatecolor_and 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 kr.pe.kingori.ihatecolor.ui.activity; /*from w ww. j a v a2 s. com*/ import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import kr.pe.kingori.ihatecolor.R; public class SplashActivity extends Activity { Handler h; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.spalsh); h = new Handler(); } @Override protected void onResume() { super.onResume(); h.postDelayed(new Runnable() { @Override public void run() { startActivity(new Intent(SplashActivity.this, MainActivity.class)); finish(); } }, 1500); } }