20145311 experimental Four "Android Development Basics"

Source: Internet
Author: User

20145311 experimental Four "Android Development Basics" programming process experiment content

• Install Android Studio
• Run the Android AVD simulator
• Use Android to run out of the virtual phone and display HelloWorld and your own school number

Experimental steps

The first is the installation of Android Studio:
Almost just follow the default installation, we want to install I feel is an android SDK, so that the development of Android, the other is just a development environment, using idea plus the SDK is also possible.

The following are the installation finishes:

Create a new project after running

After you create your project, choose android-----------and layout, into the project you built:

Then modify the content that needs to be output

You can modify the output text directly in the preview location.

You can also use code to modify

Finally, the implementation is done on the phone:

Create a phone:

Mobile Interface:

I've also done a little bit more than that in idea, but it's also very useful.

Need to install a adb.exe program to develop Android in idea

Problems encountered:

This error occurred while doing preview in idea, updating idea or not, presumably the SDK version is too low.

Experiment Summary and experience

This experiment is still a familiar to the environment, installation I did not encounter any problem, is running when the computer is particularly slow, it is unbearable,

Encountered the problem is not many, mainly is to open the mobile phone, how to display their input text on the phone interface, which also let me know that the SDK is just for Android

Developed a plugin-like feature, with idea can completely achieve some of the features of Android studio, so I use the idea again implemented again, than the Android studio

A lot faster, is the phone comes out still some cards, but Android Studio can have a preview, my idea of the preview out of some problems, I updated or not able to handle,

In short, it is very useful, the first contact with programming to develop mobile phones, or very interesting, especially in the computer can see the mobile interface,

But there's a lot to learn about Android development.

PSP (Personal software Process)
Steps Time Consuming percentage
Demand analysis 5min 5
Design 20min 20
Code implementation 5min 5
Test 40min 40
Analysis Summary 30min

30

20145311 experimental Four "Android Development Basics"

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.