[Android] Chapter 15.0 broadcast and notification-This Chapter provides an example of the main interface, android15.0

Source: Internet
Author: User

[Android] Chapter 15.0 broadcast and notification-This Chapter provides an example of the main interface, android15.0

Category: C #, Android, VS2015;

Created on:

I. Introduction

Broadcast: this function is similar to radio Broadcast. You only need to transfer it to that station (as long as the Broadcast to be received is registered in the receiving class ), you will be able to receive the information for this player.

Notifications: the Android Service (which will be detailed later) is originally running in the background. However, users may want to pay attention to the status or result of a background task being executed. In this case, they can use "notification" to notify users at the front-end.

Ii. Main Interface of this Chapter

1. Run

This also demonstrates the content to be introduced in later sections of this blog.

ChItems. add (new Chapter () {ChapterName = "Chapter 15th broadcast and notification", ChapterItems = new ChItem [] {new ChItem {type = typeof (ch1501MainActivity ), title = "example 15-1 Basic broadcast usage", Desc = "demonstrate how to send and receive broadcasts"}, new ChItem {type = typeof (ch1502MainActivity ), title = "example 15-2 basic usage of local notifications", Desc = "demonstrate how to implement local notifications"}, new ChItem {type = typeof (ch1503MainActivity ), title = "example 15-3 complete example of local notifications", Desc = "demonstrate full usage of local notifications "},}});

Related Article

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.