Introduction - If you have any usage issues, please Google them yourself
How to use the MediaPlayer class to play the sound or the video. There are three Activity involved:
MediaPlayerDemo: Master Activity, showing a list of examples.
MediaPlayerDemo_Audio: child Activity, used for playing sound, and there is no icon in Launcher.
MediaPlayerDemo_Video: child Activity, used to play video, and there is no icon in Launcher.
In which MediaPlayerDemo uses four buttons to display the list of examples:
Click the button, trigger Activity, such as "Play video from local file" will start MediaPlayerDemo_Audio