Lab Report
Course Name |
Mobile Internet development based on Android platform |
Date of experiment |
4.15 |
Name of the experimental project |
Play audio and video in the app |
Location of the experiment |
S3010 |
Type of experiment |
-Verification Type √ design type-comprehensive type |
Hours |
1 UI |
The purpose and requirements of the experiment (the knowledge points which are involved in this experiment and are required to be mastered) |
- Enable processing of audio and video in applications
- Enables playback of audio, audio playback control
- Implementation of playback video screen, video playback control
- Play music from the project's original file using service services
|
second, the experimental environment (the hardware equipment and related software used in this experiment) |
(1) PC Machine (2) Operating system: Windows XP (3) Software: Eclipse, jdk1.6,android Sdk,adt |
Third, the contents and steps of the experiment |
1. Create a project 2. Create a new raw file in the Res file directory and put the audio video file in the directory 3. Set Button click events |
Four, the experimental results (the experimental source program list and operating results or experimental conclusions, experimental design drawings ) |
Code: Run Result: () |
Five, Experimental summary (analysis of the results of the experiment, experience and improvement of experimental ideas) |
The part of the experiment is still not easy to understand. It was hard to figure out how to play music, and also to learn how to play the video screen. But some of the code in the book after the error, see for a long while did not understand. Later, imitating the music of the slowly groping to be able to run the program. But the screen still does not play out, the teacher said there may be a problem of the simulator. But it's not going to work with real machines. |
Experimental reviews |
|
Experimental results |
|
instructing teachers to sign: year -month Day |
Experiment 6 play audio and video in the app