Archive

Archive for March, 2012

Splash Screen in Android

March 1, 2012 Leave a comment

If you wanted splash screen in Android apps, Splash screen will come first for few second then from splash screen main screen will lunch. How to use splash screen, how long you wanted to show splash screen in Android apps

R.layout.splash -> this is .xml layout, it will show how you wanted to show your splash screen.
startActivity(new Intent(SplashScreen.this, MainScreen.class)) – > Mainscreen will be your next screen you wanted to come automatically after splash screen.
CountDownTimer timer = new CountDownTimer(1000, 1000) -> splash screen will visible for 1 sec.

Read more…

Advertisements
Categories: General
%d bloggers like this: