Experiment 6 play audio and video in the app

Source: Internet
Author: User

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)

  1. Enable processing of audio and video in applications
  2. Enables playback of audio, audio playback control
  3. Implementation of playback video screen, video playback control
  4. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.