I guess, you want to know - "How to add
Splash Screen in Android"
As Maneesh quoted -
So you might be tempted to present a one-time introductory slideshow, video, or splash screen to all new users when they first open the app.
In almost all cases, we advise against approaches like these because:
from android developers page, Splash Screen is not recommended for most of the new apps.
Splash Screen is more like corporate thing in a sense. Apps like Skype,Facebook, Twitter or game developers uses Splash Screen. Its like branding.
Besides Splash Screen mostly used when you have any background tasks to do, for example fetching data from network, AsyncTask etc.
But if you still want to add Splash Screen then do following-
1-Create a separate Activity for Splash Screen.
2-In
java file of that activity create the animation/image that you want.
3-Run a
thread for amount of the time you want and then start the main activity by Intent.
Here is the Thread example-