In android when you start YouTube you get a view for couple of seconds then start what is after that, like this image attached
my approach is create an activity and in onCreate i declare an countdowntimer for seconds just like this code:
new CountDownTimer(2000, 1000) {
public void onTick(long millisUntilFinished) {
}
public void onFinish() {
startActivity(new Intent(WelcomingActivity.this, LoginActivity.class));
finish();
}
}.start();
is this a good way to do it ? Thanks in advance !