Email us

malitanyo@gmail.com

Read, Learn and Apply

Splashscreen in your android app project

Sample code on how to create splashscreen in your project.
In my example i make swap the MainActivity.java to my splash.java the first load is splashActivity.java and after a few seconds the next is MainActivity.java load.


First let set-up the swap in our AndroidManifest.xml ill make the splash.java as a main.


Screenshot:


Next goto your java folder and create SplashActivity.java and paste this following codes.
NOTE: 3000 = 3 seconds interval before the MainActivity.java loads.
Screenshot:

In the last step goto your layout and create splash.xml paste this following code below.


end of tutorial.

No comments:
Write comments

For more android apps develop by Malitanyo.
Please visit here: Malitanyo in Playstore.