Lab report Cover
Course: Java Programming class: 1653 class Name: Zhang Chen Hui School Number: 20165313
Instructor: Lou Jia Peng Experiment Date: May 14, 2018
Experiment time: 13:45-15:25 Experiment serial number: Experiment Four
Experiment Name: Android programming
Experimental content and step experiment One: Installation test of Android Stuidio
1. Test requirements:
Refer to Http://www.cnblogs.com/rocedu/p/6371315.html#SECANDROID, installing Android Stuidio
Finish Hello World, ask to modify the contents of the Res directory, Hello World to show their school number, the number of students before and after a student, submit code run and code cloud GIT link, no study number to deduct points
Learn Android Stuidio Debug app
2. Experiment:
Experiment Two: Activity testing
1. Test requirements:
Refer to the Java and Android Development Learning Guide (second Edition) (Epubit,java for Android 2nd), Chapter 25th: Building a project, running the relevant code of the textbook
Create thirdactivity, display your own number in thirdactivity, modify the code to let mainactivity start thirdactivity
Submit code to run and code cloud git link, to have a study number watermark, otherwise it will deduct points
2. Experiment:
Experiment three: UI testing
1. Test requirements:
Build the project, run the textbook related code
Modify the code to let the toast message display its own learning number information
Submit code to run and code cloud git link, to have a study number watermark, otherwise it will deduct points
2. Experiment:
Experiment Four: Layout test
1. Test requirements:
Build the project, run the textbook related code
Modify the layout so that the P290 page interface is different from the textbook
Submit code to run and code cloud git link, to have a study number watermark, otherwise it will deduct points
2. Experiment:
Experiment Five: Event processing test
1. Test requirements:
Refer to the Java and Android Development Learning Guide (second Edition) (Epubit,java for Android 2nd), Chapter 28th:
Build the project, run the textbook related code
Submit code to run and code cloud git link, to have a study number watermark, otherwise it will deduct points
2. Experiment:
Problems encountered in the test and solution issues:
1. Create new project load time too long
2. Test code
Solution Solutions
1. Download the corresponding software
2. Go to download the corresponding code file
PSP Time
| Steps |
Time Consuming |
percentage |
| Demand analysis |
30min |
18.75% |
| Design |
40min |
25% |
| Code implementation |
30min |
18.75% |
| Test |
20min |
12.5% |
| Analysis Summary |
40min |
25% |
20165313Java Experiment four Android programming