In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how the Android architecture is". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Android diagram
The Android operating system is a stack of software components, which can be roughly divided into five parts and four main layers in the architecture diagram.
Linux kernel
At the bottom of all the layers is Linux-Linux 3.6, which includes about 115 patches. It provides basic system functions, such as process management, memory management, device management (such as camera, keyboard, monitor). At the same time, the kernel handles all the tasks that Linux is good at, such as networking and a large number of device drivers, thus avoiding the inconvenience of being compatible with a large number of peripheral hardware interfaces.
Program library
Above the Linux kernel layer is a collection of a series of libraries, including the open source Web browser engine Webkit, the well-known libc library, the SQLite database for warehouse storage and application data sharing, the library for playing and recording audio and video, and the SSL library for network security.
Android library
This category includes Java-based libraries developed specifically for Android. Examples of this category library include application framework libraries, such as user interface construction, graphics, and database access. Some of the core Android libraries available to Android developers are summarized as follows:
Android.app-provides access to the application model and is the cornerstone of all Android applications.
Android.content-facilitates content access, publishing, and message delivery between applications and between application components.
Android.database-used to access data published by content providers, including SQLite database management classes.
Android.opengl-Java interface for OpenGL ES 3D picture rendering API.
Android.os-provides applications with the ability to access tagged operating system services, including messages, system services, and interprocess communication.
Android.text-renders and manipulates text on the device display.
Android.view-the basic building block of the application user interface.
Android.widget-A rich collection of preset user interface components, including buttons, tags, lists, layout management, radio buttons, etc.
Android.webkit-A collection of classes that allow applications to be provided with built-in Web browsing capabilities.
Having seen the core Java-based libraries in the Android runtime, it's time to take a look at the Java-based libraries in the Android software stack.
Android Runtime
This is the third part of the architecture, the second layer from the bottom up. This section provides key components called the Dalvik virtual machine, which is similar to the Java virtual machine, but is specifically designed and optimized for Android.
The Dalvik virtual machine makes it possible to use Linux core functions such as memory management and multithreading in Java. The Dalvik virtual machine allows each Android application to run in its own independent virtual machine process.
The Android runtime also provides a series of core libraries to write Android applications using the standard Java language for Android application developers.
Application framework
The application framework layer provides many advanced services for applications in the form of Java classes. Application developers are allowed to use these services in applications.
Activity Manager-controls all aspects of the application life cycle and activity stack.
Content provider-allows data to be published and shared between applications.
Explorer-provides access to non-code-embedded resources such as strings, color settings, and user interface layouts.
Notification Manager-allows the application to display dialog boxes or notify users.
View system-an extensible collection of views used to create an application user interface.
Application program
There are all the Android applications at the top level. The application you write will also be installed on this layer. These applications include address books, browsers, games, etc.
That's all for "what the Android Architecture is like". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.