20155208 experiment four Android Development Fundamentals experiment Content
1. Develop simple Android apps and deploy tests based on Android studio;
2. Understand the use of Android, components, layout manager;
3. Mastering the event handling mechanism in Android.
Experimental requirements
Choose to do, have extra points
Experimental Steps (i) Android stuidio installation test
Refer to the Java and Android Development Learning Guide (second Edition) (Epubit,java for Android 2nd), Chapter 24th
- Install Android Stuidio
- Complete Hello world, ask to modify the contents of the Res directory, Hello World to show their school number, submit code run and code cloud GIT link, no study number to deduct points
- Learn Android Stuidio Debug app
(ii) Activity testing
Refer to the Java and Android Development Learning Guide (second Edition) (Epubit,java for Android 2nd), Chapter 25th:
- Build the project, run the textbook related code
- 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
(iii) UI testing
Refer to the Java and Android Development Learning Guide (second Edition) (Epubit,java for Android 2nd), Chapter 26th:
- 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
(iv) Layout test
Refer to the Java and Android Development Learning Guide (second Edition) (Epubit,java for Android 2nd), Chapter 27th:
- 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
(v) Event processing testing
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
PSP (Personal software Process) time
| Steps |
Time Consuming |
percentage |
| Demand analysis |
10min |
9.1% |
| Design |
15min |
13.6% |
| Code implementation |
40min |
36.4% |
| Test |
25min |
22.7% |
| Analysis Summary |
20min |
18.2% |
Experimental summary
This Java experiment teaches us how to become familiar with the development environment of Android studio, and to do basic simple operation, improve our hands-on ability, let us touch a new field, also equivalent to let us learn to use, feel very meaningful.
20155208 experiment four Android Development basics