//延时执行
new Handler().postDelayed(new Runnable(){
public void run() {
Intent intent = new Intent();
intent.setClass(MainActivity.this, WelcomeActivity.class);
startActivityForResult(intent, 0);
}
}, 3000);
new Handler().postDelayed(new Runnable(){
public void run() {
Intent intent = new Intent();
intent.setClass(MainActivity.this, WelcomeActivity.class);
startActivityForResult(intent, 0);
}
}, 3000);