[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 "},}});