The road to Android learning and the road to android
Android Basics
Sort out the knowledge points that I think new users must master. By the way, the blog addresses that I think are good.
- It takes two minutes to understand the lifecycle of an Android Activity )!
The Activity is used most frequently in actual development. This must be understood.
- Introduction and lifecycle of four basic Android Components
Four components in Android must be known and frequently asked during interviews.
- Basic use and optimization of ListView
ListView is the most commonly used and complex for beginners. You must master the use of various adapters and ListView optimization.
- Android standard Intent for Activity
Intent solves the communication between the four main components of Android and is very useful. This blog collects and sorts out the standard Intent of the system.
- Android screen adaptation
This section describes the basics of Android screen adaptation.
- Detailed description of SQLite applications in Android
SQLite in Android needs to be mastered. This blog is suitable for beginners.
- Complete parsing of Android Fragment
Fragment added after 3.0 must be mastered. The current use cases are becoming more and more common.
Android intermediate
- Lifecycle of Android applications
The lifecycle of Android applications needs to be understood, and interviews are frequently asked.
- Step by step to learn more about the View
View is the most commonly used in UI development and must be thoroughly understood.
- Complete parsing of Android Service
As one of the four Android components, Service plays a very important role in every application.
The popular data format is json. This blog teaches you how to use the Google Gson library for json parsing.
- Android Layout Optimization
Xml layout is often used in Android development, so the layout optimization knowledge needs to be mastered.
- Serializable and Parcelable)
Explains in detail how to transmit objects in Intent in Android
- Complete parsing of Android Asynchronous Message Processing Mechanism
Asynchronous operations are frequently used in Android development and must be understood.
- Complete parsing of Android AsyncTask
Another method for Android asynchronous operations
A very early demo shows you how to create an App Loading animation.
Android advanced
The new build system of Google's official Android system allows you to conveniently manage dependencies, compile and package data, etc.
- Android Performance Optimization
A series of Performance Tuning tutorials make your code and apps smoother!
- A complete open-source project-9GAG
An open-source client that teaches you how to quickly develop a good Android client using Studio, Gradle, and some popular open-source libraries
- Compiled Android development resources
Some Android development resources, including development, tools, and design, will be useful to you.
Android Design
Before developing an Android App, you need to understand the Design specifications of the Android platform. Here are a series of explanations about Android Design and Google's latest Material Design Chinese translation version.
Android Design
Material Design
Android compatibility Library
When you understand the design specifications and prepare to develop your App, you also need to consider the versions supported by your App. If it is a brand new App, from the current market share, we recommend that you directly support 4.0 +. Although there is still a portion of the 2.3 share, how many people can actually use the App. Of course, if your company needs to support the 2.x version, you don't have to worry about it. Below are some compatible libraries that meet your adaptation requirements:
An ActionBar compatible library of JakeWharton, which supports the use of ActionBar in 2.x.
Previously, the above JakeWharton compatible library was used to use ActionBar. However, Google now has its own ActionBar compatible library. We recommend that you use ActionBar Compact, for more information, see my blog.
Some new Animation APIs opened before Android 3.0-Property Animation, another masterpiece of JakeWharton, allows you to use Property Animation In sdk 2. x.
To be compatible with v2.x, you must use the following classes, such as Fragment, FragmentManager, FragmentActivity, FragmentPagerAdapter, CursorLoader, LoaderManager, and AsyncTaskLoader.
Of course, in addition to the above, there are some new controls under the v4 package. You must know
Navigation Drawer)
Before that, you may use the SlidingMenu open source library to implement a drawer navigation on Android. Now you can easily implement it using the official DrawerLayout control.
SlidingPaneLayout
SlidingPaneLayout is a newly added component in the V4 package. You can switch between two panel columns. For more information about the usage and effect, see the blog link.
SwipeRefreshLayout
SwipeRefreshLayout is a pull-down refresh component updated by Google in the support v4 19.1 library. It is easy to use and can easily implement the Google Now effect.
Some open-source libraries required for Android Development
Speaking of open-source libraries, you have to mention GitHub. It can only be said that it is currently the most active open-source community. If you do not know how to register an account to use it, it is definitely a tool for you to quickly improve technology.
Volley
In App development, it is inevitable to interact with the server. volley is an open-source network communication library officially launched by Google, which makes network communication simpler and faster.
Volley full Parsing
Android volley sample
ActiveAndroid
ActiveAndroid is a lightweight ORM (Object Relation Mapping) framework that allows you to add, delete, modify, and query operations simply by using methods such as save () and delete.
- ActiveAndroid-Android lightweight ORM framework
Retrofit
Similar to the concept of ORM in the Java field, Retrofit converts structured data to Java objects, while Retrofit converts the data returned by REST APIs to Java objects for convenient operations. It also encapsulates network code calls.
- Keep fit-Java (Android) REST interface encapsulation class library
Android-Universal-Image-Loader
Android-Universal-Image-Loader is a powerful open-source asynchronous Image loading library. This project aims to provide a reusable instrument for asynchronous Image loading, caching, and display.
- Android-Universal-Image-Loader
Android open-source project category Summary
A comprehensive GitHub open-source project summary. You do not need to reinvent the wheel.
I want to learn about Android programming and give some guidance on the learning path (with programming basics)
First, I learned Java. Android software runs in a Java Virtual Machine. After I learned Java, I saw that android is almost the same, but some statements are similar. You can also learn Android while reading Java. I used to watch Android while watching Java. I was more impressed by the difference between the two.
Relationship:
Android is an operating system, Java is a programming language, and applications on Android are compiled by Java. Based on the android SDK.
Android learning path
The learning path is to familiarize yourself with JAVA and then follow the practice of Zhao Ben's introductory book. After mastering the basics, you can learn through development forums and other more in-depth books. In general, you still need to practice more.