JAVA FILE : AndroidVideoPlayer.java
In this example showing code to play video. Taking a video(3gp) file inside application raw folder and playing in on activity.
Using VideoView class to load video 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.