Android Basics (i)

Source: Internet
Author: User

    • Android Architecture Introduction
    1. 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)

    • Activity (Activities)
    1. The representation is a separate interface (screen), and each activity is a separate class;
    2. This class displays a user interface composed of views and responds to the interface;
    3. 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.
    • Boradcast Intent Receiver (broadcast intent receiver)

    • Server (Service)

    • Content Provider (contents provider)

    • Intent and Intent filter (intent and intent filters)
    1. A dedicated intent for page switching;
    2. Intent describes what the program wants to do;
    3. Intent asked what to do, Intent filter describes what an activity can do with intent.

Android Basics (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.