20145239 Du Wenshu Experiment four Android Development basics

Source: Internet
Author: User

20145239 experiment four Android Development Fundamentals experiment Content
    • Develop simple Android apps and deploy tests based on Android studio
    • Learn about the use of Android components, layout Manager
    • Mastering the event handling mechanism in Android
    • Android Studio Installation
Experimental steps

Installing the JDK and configuring the JDK environment variables

Use 计算机->系统属性->高级系统设置->高级->环境变量 it in turn, and then create a new JAVA_HOME variable that makes it the location where the JDK is installed on your computer:

Install Andriod Studio and configure

1. Double-click RunAndriod Studio.exe:

2. Specify the location of the Android SDK for the first run, as it is already configured so it is not mentioned again.

Andriod Studio's Run

1. New Project:File->New->New Project:

2. Choose a name, then select the Empty column:

3. Enter the text you want to display in the text below:

such as 20145239 Du Wenshu.

4. Click the green button to see how your app works on your phone:

Find my application and click on it.

5. I think the word display is too small, just want to adjust the font size.

After Baidu, the discovery can be modified in the following location (textSize):

6. Final Success!

PSP (Personal software Process) time
Steps Time Consuming percentage
Demand analysis 10min 8.3%
Design 30min 25%
Code implementation 20min 16.7%
Test 20min 16.7%
Analysis Summary 40min 33.3%

Summary and experience

The experiment began relatively late, the advantage is heard a lot of students failed to solve the experience. However, after the installation of the software found that there is still a (22.14) (vaguely remember) the error message, I checked the Baidu after the solution

It's all in English, I don't know how to read it. But my program is still able to execute, this is to let me be more gratified, when the choice of a good phone last point to open my own application is still a great achievement, unfortunately, Android Studio

Running on my computer is very slow, delaying a lot of time.

20145239 Du Wenshu Experiment four Android Development basics

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.