How do you set a timer for splash screen?

you can use Sleep method like this in your Splash Activity onCreate method: Thread timer1 = new Thread(){ @Override public void run(){ try{ sleep(4000); } catch (InterruptedException e){ e. printStackTrace(); } finally{ Intent intent = new Intent(SplashActivity. this, NextActivity.

Sizin İçin Seçtik  What is the app start for?

Leave a Reply

Your email address will not be published. Required fields are marked *