Java experiment four "Android program design" experimental report

Source: Internet
Author: User

First, the experimental report cover

Course: Java Programming class: 1653 class Name: Chen No.: 20165333

Instructor: Lou Jia Peng Experiment Date: May 14, 2018

Experiment time: 13:45-15:25 experiment Number: 33

Experiment name: Object-Oriented Programming

Second, the experimental content task one:

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
Learning Summary:

Android Studio installation and Sdk,gradle are added to the book.
Experimental operation: App→src→main→res→layout→activity_main.xml, after opening, in the graphical interface, set the text content, and then run.
Experimental results

Task Two:
    • Activity test: 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
    • Learning Summary

    • Life cycle Methods for activity:
      Oncreat
      OnStart
      Onresume
      OnPause
      OnStop
      Onrestart
      OnDestroy
      Experiment:

Task Three:
    • 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
      Learning Summary

UI: User interaction
IU: Li Zhi-eun
Widgets: Include components
Working with basic components

    • Experiment:
Task Four:

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

    • Experiment
Task Five

Event Processing test: 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

    • Experiment

Java experiment four "Android program design" experimental report

Related Article

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.