找回密码
 立即注册
AndroidTheapplication使用 | android开发 2022-11-09 42 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Android系统=Linux内核+Android运行时。Android系统使用的Linux内核包括了一些专用驱动,例如Logger、Binder、Ashmem、Wakelock、Low-MemoryKiller和Alarm等,这些Android专用驱动构成了Android运行时的柱石。Android运行时从下到上又包括了HAL层、使用程序框架层和使用程序层。HAL层首要是为规避GPL而设计的,它将将硬件驱动分成内核空间和用户空间两部分,其间用户空间两部分选用的是商业友爱的ApacheLicense。使用程序框架层首要包括系统服务,例如组件管理服务、使用程序安装服务、窗口管理服务、多媒体服务和电信服务等。使用程序框架进一步又分为C/C++和Java两个层次,Java代码运行Dalvik虚拟机之上,而且通过JNI方法和C/C++交互。使用程序层首要就是由四大组件Activity、Service、BroadcastReceiver和ContentProvider构成,它们是使用开发的基础。这个PPT从一个通用的使用程序架构开始,概述Android系统的专用驱动、HAL、重要服务、Dalvik、窗口机制和四大组件等。这个PPT作为前面第1个PPT的连续,帮助进一步理解Android系统的具体实现。本资料共包括以下附件:

(Android system=Linux kernel Android runtime. The Linux kernel used by the Android system includes some special drivers, such as Logger, Binder, Ashmem, Wakelock, Low MemoryKiller and Alarm. These special Android drivers form the pillar of the Android runtime. Android runtime includes HAL layer, application framework layer and application layer from bottom to top. The HAL layer is primarily designed to circumvent the GPL. It will divide the hardware driver into two parts: the kernel space and the user space, in which the business friendly Apache License is used. The application framework layer mainly includes system services, such as component management services, application installation services, window management services, multimedia services and telecommunications services. The application framework is further divided into C/C  and Java. Java code runs on the Dalvik virtual machine and interacts with C/C  through JNI methods. The application layer is mainly composed of four components: Activity, Service, BroadcastReceiver and ContentProvider, which are the basis of application development. This PPT starts with a general application architecture and outlines the dedicated driver, HAL, important services, Dalvik, window mechanism and four components of the Android system. As a continuation of the first PPT, this PPT helps to further understand the specific implementation of the Android system. This document includes the following annexes:)

[下载]10392170733.rar




上一篇:Android源代码开发和调试环境搭建
下一篇:Android专用驱动