您的位置:首页 > 移动开发 > Android开发

android默认页面几秒后自动跳转另一页面

2011-10-28 13:13 295 查看
//android默认页面几秒后自动跳转另一页面
//activity
super.onCreate(paramBundle);
setContentView(R.layout.splash_screen_view);
final Intent localIntent=new Intent(this,Main.class);
Timer timer=new Timer();
TimerTask tast=new TimerTask()
{
@Override
public void run(){
startActivity(localIntent);
}
};
timer.schedule(tast,DELAY);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android timer delay
相关文章推荐