Android Development Tutorial: Developing a basic framework principles

1, there is provided an application framework (Framework)

Developers can build applications to follow these frameworks readers can be combined with Mobile Information Device Framework Applet Suite framework of J2SE or J2ME platform to platform application framework to understand the Android platform.

Each developer estimates have tangled over the platform concept and framework, especially for the novice, the platform and framework always seem predecessors usual verbal, abstruse terms. In fact, the reader can understand the platform for the stage, it stressed the support characteristics of things, like the stage has characteristics of the support the dancers were performing on it. Similarly, Android platform featuring support for Android applications running, specifically in the runtime (Runtime) environments and interfaces, API common platforms as well as Windows platforms, Linux platforms. Framework can be understood as a skeleton, which emphasizes reusability of things. As we all know, human beings regardless of height and weight, the strength of beauty and ugliness, its skeleton are similar. Conversely, the use of a human skeleton model, may create a different mannequin.

Similarly, the software development process, the frame can be developed using the interface of different, a certain type of application. For example, using Microsoft's MFC framework can quickly develop applications that run on a Win32 platform. Embodied as a frame work of a set of classes, such as class interface components, event handler class, network communication and the like. Popular framework .Net, Qt, MFC, VCL and the like, by means of which the frame, the developer can develop the application efficiently. In short, the framework helps develop android applications, platforms support running the application framework built on the platform.

Android Development Tutorial: Developing a basic framework principles

2, custom Dalvik virtual machine

Readers can combine J2SE platform Java Virtual Machine (Java Virtual Machine, ⅣM) and J2ME platforms kilobyte virtual machine (Kilo-bytes Vh-tual Machine, KVM) to understand the Dalvik virtual machine. They comply with the technical specifications may be different from the Java virtual machine in general. Dalvik virtual machine supports byte code (Byte Code) is "dex" file (Dalvik Executable), that is to say Dalvik is not supported by the normal Java class files (class file) byte code.

3, an integrated browser based on Webkit open source projects

Webkit is an open source project, which is mainly composed of the K Desktop Environment (K DesktopEnvironment, Ⅺ) E) modified from the KHTML and contains a number of some components from Apple. Traditionally, WebKit engine WebCore contains a Web page and a script engine JavaCore, which correspond to the KDE's KHTML and KJS. However, with the growing independence of Java engine, WebKit and WebCore has now basically mix regardless. GooSe developed by Google Chrome Web browser product is based on the WebKit open source code, and developed its own high-performance Java engine called "V8" is. Readers can be regarded as the Android platform browser version C11rome of mobile devices.

Android Development Tutorial: Developing a basic framework principles

4,2D and 3D graphics engine

2D graphic engine based SGL, 3D graphics engine based on OpenGL ES 1.0 specification. Skia graphics library is a complete 2D graphics library for rendering text, geometric shapes and images. OpenGL ES 1.0 is based on the OpenGL 1.3 specification defined, while enhancing the basic software rendering and hardware acceleration.

Guess you like

Origin www.cnblogs.com/Androidqin/p/11364560.html