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