Android broadcast, service, database, notifications, package principles and descriptions

Source: Internet
Author: User
Tags sqlite database

Brief introduction

There are many mechanisms used in Android, such as: Broadcast, service, database, notification, package ... Wait a minute.
What is a broadcast? Broadcast is a widely used mechanism for transmitting information between applications. Like a radio station that receives a transmission based on a particular frequency.
What is a service? Service is one of the four components of the Android system, which is the same as the activity level, but cannot run on its own only in the background and can interact with other components. Use occasions such as: background music player.
What database was used? Using the Open source project SQLite operation data in Android. The SQLite database is an open-source embedded database D.richard Hipp in C, with a supported database size of 2TB.
What notice? Notification is a commonly used in Android notification method, when there are unread text messages or missed calls, the screen status bar will have a hint icon, you can pull down the status bar to read the notification.
What is a package? The Android app has a package that describes the program.


Details 1, broadcast Broadcastreceiver



2. Service Services



Life cycle



3. Database ContentProvider



4. Notification Bar Notification



5, Package Packages

The management class for packages in Android is Packagemanager.


The framework is as follows:


Android broadcast, service, database, notifications, package principles and descriptions

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.