- Android Architecture Introduction
- Android is a mobile development platform, hierarchy: Operating system (OS), middleware (middle Ware), Applications (application)
Specific:
Operating system (OS)--Various drivers, etc. Using Linux2.6 as the operating system
Various libraries (Libraries) and Android Runtime Environment (runtime)--various managers, libraries and virtual machines
Application System Framework (application framework)--manager, etc.
Apps (application)-Phone, browser, etc.
Note: A basic Android application can take advantage of the 5 parts of the application framework:
Activity (Activities)
Boradcast Intent Receiver (broadcast intent receiver)
Server (Service)
Content Provider (contents provider)
Intent and Intent filter (intent and intent filters)
- The representation is a separate interface (screen), and each activity is a separate class;
- This class displays a user interface composed of views and responds to the interface;
- After opening a new interface, the previous interface is paused and placed on the stack, leaving all the interfaces in the stack: from the first to the last.
- A dedicated intent for page switching;
- Intent describes what the program wants to do;
- Intent asked what to do, Intent filter describes what an activity can do with intent.
Android Basics (i)