Featured post

Marshmallow Features Point by Point

Android Runtime (“ART”) Improved application performance and lower memory overhead for faster  multi-tasking. Battery Doze...

Tuesday 16 February 2016

Make SplashScreen in android

wait for some time in android for display any screen like splash screen.


Timer timer2 = new Timer();
              timer2.schedule(new TimerTask() {
                     @Override
                     public void run() {

      
                                  Intent intent = new Intent(Spash_Activity.this,
                                                LoginActivity.class);
                                  startActivity(intent);
                                  finish();
                          
                     }
              }, 3000);

here is the "3000" means 3 second wait for load another screen 

No comments:

Post a Comment