Wednesday 24 April 2013

Make SplashScreen in android

Make Splash screen 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

Call web services easily

get source code from here, Download