- Category:
- Other Resource
- Tags:
-
- File Size:
- 121kb
- Update:
- 2017-12-30
- Downloads:
- 0 Times
- Uploaded by:
- 李红水
Description: 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
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
Android ApiDemos示例解析.doc | 974408 | 2017-11-22 |