标签:highlight override 开启 activity ted this dac rri void
new Thread() { @Override public void run() { try { Thread.sleep(2000); } catch (InterruptedException e) { e.printStackTrace(); } startActivity(new Intent(LeadActivity.this, WelcomeActivity.class)); } }.start();
handler.postDelayed(new Runnable() { @Override public void run() { startActivity(new Intent(LeadActivity.this, WelcomeActivity.class)); } },3000); }
TimerTask task = new TimerTask() { @Override public void run() { startActivity(new Intent(LeadActivity.this, WelcomeActivity.class)); } }; Timer timer = new Timer(); timer.schedule(task,1000); }
标签:highlight override 开启 activity ted this dac rri void
原文地址:http://www.cnblogs.com/SandyLam/p/6095263.html