标签:
handler的使用场合
protected void onResume() //在onCreate之后、以及每次横竖切屏、从其他界面返回的时候,都会被调用 { super.onResume(); new Handler().postDelayed(new Runnable() { @Override public void run() { //Finish the splash activity so it can‘t be returned to. SplashActivity.this.finish(); Intent mainIntent = new Intent(SplashActivity.this, Accueil.class); SplashActivity.this.startActivity(mainIntent); } }, 4000); }
标签:
原文地址:http://www.cnblogs.com/qionglouyuyu/p/4620228.html