Splash Screen
Thread timer=new Thread()
{
public void run() {
try {
sleep(2000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
finally
{
Intent i=new Intent(Splash.this,MainActivity.class);
finish();
startActivity(i);
}
}
};
timer.start();
Comments
Post a Comment