Andriod development and installation of the system architecture articles

Step 1. Installation

  • Step1: installing jdk
  • Step2:andriod-studio-bundle-141.244023-windows

2. Reference Manual

  • Andriod first line of code (2nd Edition)

3.Andriod System Architecture

  • First introduced Andriod system architecture, in order to understand how this works Andriod, Andriod can be divided into four-tier structure: Linux kernel layer, system runtime layer, application framework layer and application layer

       3.1 Linux kernel layer

             Andriod system is based on the Linux kernel, this layer provides a variety of hardware devices Andriod underlying drivers, display driver, an audio driver, a camera driver, driving Bluetooth, Wi-Fi driver driving power source and the like.

       3.2 System runtime layer

             This layer through a number of C / C ++ library provides support for the major features Andriod system. Such as SQLite library provides database support, OpenGL | ES library provides 3D graphics support, Webkit library provides support for browser kernel and so on.

             Also at this level there's Andriod runtime library , which mainly provides some core libraries allow developers to use JAVA language to write Anriod application . In addition, Android runtime library also includes the Dalvik virtual machine , which makes each Andriod application runs in a separate process them, and have its own instance of the Dalvik virtual machine. Compared to the JAVA virtual machine, the Dalvik is specifically tailored for mobile devices, it is optimized for handling phone memory, CPU performance and other limited circumstances .

       3.3 application architecture layer

              This layer provides a variety of API may be used when building applications, Android comes with some of the core application is the use of these API completed, developers can also build their own applications by using the API.

       3.4 Application Layer

              All applications installed on the phone belong to this layer, such as the system comes with contacts, text messages and other programs, or if you download from Google Play games, and of course your own applications.

  • System Architecture FIG as Android

           

Guess you like

Origin www.cnblogs.com/554977516-byh/p/11605283.html