Lab Report
Course Name |
Mobile Internet development based on Android platform |
Date of experiment |
2016/4/22 |
Name of the experimental project |
Bindservice Analog Communication |
Location of the experiment |
General Laboratory |
Type of experiment |
-Verification Type √ design type-comprehensive type |
Hours |
2 |
The purpose and requirements of the experiment (the knowledge points which are involved in this experiment and are required to be mastered) |
1. Achieve two-way communication between the start-up and Bindservice 2. Implement a data transfer from the start-up to the bindservice end; 3. Realize the use of Bindservice service to play the music in the project source file; 4. Implement the "increase" and "lower" two buttons on the boot side to control the audio volume size. 5. Implement the "Pause" button on the boot side to control the audio pause playback. |
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) Add Musicsetting.xml file 2) New Musicsetting.java class 3) Register Musicsetting.java class 4) New Boundservice.java class |
Four, the experimental results (the experimental source program list and operating results or experimental conclusions, experimental design drawings) |
code: mainactivity section code:   musicsetting Section Code:   boundservice part code:   run Result: () |
Five, Experimental summary (analysis of the results of the experiment, experience and improvement of experimental ideas) |
This experiment feels very difficult, in the background music because forgot to jump to boundservice start service, so music can't play; in the process of mute control volume, in the Internet to find a lot of examples but still do not understand, finally in the help of students finally completed the experiment. I still have a lot of things to do in this experiment, and I need to go on with practice. |
Experimental reviews |
|
Experimental results |
|
Guide Teacher Signature: Date |
Experiment 7 Bindservice Analog communication