android欢迎页源码

直接上源码:

 import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler; public class Splash extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.splash);
new Handler().postDelayed(new Runnable() { @Override
public void run() {
// TODO Auto-generated method stub
Intent it = new Intent(Splash.this, SmallToolsActivity.class);
startActivity(it);
finish();
}
}, 3000);
}
}

==

上一篇:解决镜像无法删除的问题multiple repositories


下一篇:textarea赋值时换行符无效的解决方法