Android Android Development - Understanding Android

briefly introduce yourself

Pu Jinhong, graduated from Liaoning University of Engineering and Technology, is an elderly person in 1992. He usually likes to drink tea, watch dramas, and occasionally write blogs. In the past two days, our company has asked me to participate in the development of Android Apps. I have nothing to write about Writing about your experience is like reviewing the old and learning the new;

As far as I know the origin of Android

Andy Rubin is the founder of Android. Andy said frankly that the Android system was originally intended to be a system developed for the camera platform. Coincidentally, due to the explosive growth of the smartphone market, Android was transformed into an operating system for mobile smart terminals.
The name of Android comes from the robot character in a game played by Andy, as shown in the picture,
android prototype
the style of Android Logo comes from the public toilet sign. The good name is that there is no sexism.
insert image description here
Less than two years after Andy's company was established, it ushered in the acquisition of Google. Under the strong push of Google, Android quickly took 80% of the market share of those smartphones; it became the overlord of the mobile system;

Familiar with the Android system

Android is an operating system developed based on the Linux kernel, which is similar to the Linux system in terms of file system.
The language used for APP development is Java. Google recommended using kotlin to develop Android for a while, but the market response was lukewarm. Perhaps because Java announced fees at the end of 2018, kotlin could become the language of choice for Android development.
When it comes to Android development, what we have to talk about is the Android architecture, pictured above!
Architecture
You can see that there is a DVM in the Runtime part. In the early days, Android used the JAVA virtual machine (JVM). For this reason, Oracle and Google also fought a lawsuit. In the end, Google lost the lawsuit, and Google engineers had to write a set of Android's own virtual machine. , I think this is also the reason why Google intends to replace Java with Kotlin; of course, the development of Android still requires the installation of JDK;
from this we can see that the bottom layer of the Android system is still C++, and it is true to learn C++ and travel all over the world;

Meet the Android IDE

The mainstream integrated development environment for developing Android is Android Studio. It is an IDE developed by Google based on idea. It has a jetbrains-style interface and operation mode, and it also greatly facilitates the transformation of Java programmers to Android. Of course, many old men are still using eclipse, and everything can be developed with eclipse, but eclipse is naturally not as easy to use as the son of Google, AS, and most post-97 Coders don’t know what eclipse is. We old antiques should also be flexible.

Summarize

It’s useless to talk too much. Everyone knows what Android is. In fact, programmers study hard. It doesn’t matter what language or IDE they use for more than 3 years. The key is their understanding of object-oriented and proficiency in API. ;
Personally, I feel that Android development is not elegant.

Guess you like

Origin blog.csdn.net/pujinhong0412/article/details/93760334