As learning Series [1]--Android Studio

Source: Internet
Author: User

Written in the previous words: Because of Uffon Teacher's high wall limits, the network becomes the study Android first "the obstacle". So, personally, you need to understand the next FQ technology before learning Android (just for technical learning).

1.AS

As (Android Studio) is a Google out of the Android development environment. Free, powerful, and completely alternative to eclipse, ADT or IntelliJ idea.
The biggest highlights are the "code hints" and "Live preview layouts" two pieces.

The official website says Android Studio has many benefits:

    • Build support based on Gradle
    • Android specific refactoring and quick fixes
    • Richer template code, making it easier to create a program
    • Better hints tool for capturing control of program performance, availability, version compatibility, and other issues
    • Direct support for Proguard and application signing features
    • Comes with a layout editor that lets you drag and drop UI components to preview layouts on different configurations of the screen
    • Built-in Google Cloud services
    • Built-in Svn,git tools
    • Support for plug-in installation
2.Activity

What is activity? In simple terms, it's an interface. In other words, an interface is an activity.
Role: Interacting with the user.
Activity characteristic: can retreat.

3. First procedure

The creation process is so simple that I don't want to repeat it.

Case Summary:

The ① entry is the OnCreate function of the Java class.

② Open App\src\main\res\layout\activity_my.xml to see the UI in real time. (You can also perform the Run button)

The ③android program embodies the MVC idea very well.

④ website API document (Chinese version)

As learning Series [1]--Android Studio

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.