How to add Video in android splash screen ?

In this tutorial we will be adding VideoView in our android apps splash screen. Splash screen is shown when you app starts upon clicking of app icon. Splash screen is generally 2-4 sec long. We had earlier added tutorial in which a logo is shown in splash screen.

This screen is basically shown for your brand promotion by showing some brand related icon. Google uses this in many of its products like YouTube, Google Maps.


[su_button url=”” target=”blank” style=”stroked” background=”#51d461" color=”#ffffff” size=”6" center=”yes” radius=”0" icon=”icon: arrow-circle-o-down”]Download Full Source Code[/su_b[/su_button]p> 


[su_yo[su_youtube url=””]h2>Implementation Details

In this tutorial we will be using VideoView to play video in our activity. The VideoView class can load images from various sources (such as resources or content providers), takes care of computing its measurement from the video so that it can be used in any layout manager, and provides various display options such as scaling and tinting.

So here we will be creating 2 activities. One is Splash activity which is shown until video is being played. Other is MainActivity which is shown when Splash activity is completed.

Following is code for


Technology enthusiast. Loves to tinker with things. Always trying to create something wonderful using technology. Loves coding for Android, Raspberry pi, Arduino , Opencv and much more.

You may also like...

2 Responses

  1. January 21, 2017

    […] Our new Tutorial on how to add video in splash screen […]

  2. November 9, 2017

    Such a nice blog.

    I have read an amazing article here.

Leave a Reply

Your email address will not be published. Required fields are marked *