Category: C #, Android, VS2015;
Date Created: 2016-02-28 I. INTRODUCTION
Broadcast (broadcast): It functions like a radio broadcast, you only need to transfer to that station (as long as the received class to register the broadcast to receive), you can receive this broadcast information.
Notification (notifications): Android Service components (Android service, later chapters) are originally run in the background, however, users may want to focus on a background task is currently executing the status or results, you can use "notification" in the foreground to tell the user. Second, this chapter sample main interface
1. Operation
This also demonstrates the contents of the following chapters of this blog, to see if there is time to talk about it. If the fans or the attention of people are not many, do not write down, hehe.
2, the corresponding code in the MainActivity.cs file
Chitems.add (NewChapter () {Chaptername="15th. Broadcasting and Notification", Chapteritems=Newchitem[] {NewChitem {type=typeof(ch1501mainactivity), title="Example 15-1 basic usage of broadcast", Desc ="demonstrates how to implement broadcast send and receive" }, NewChitem {type=typeof(ch1502mainactivity), title="Example 15-2 basic usage of local notifications", Desc ="demonstrates how to implement local notifications" }, NewChitem {type=typeof(ch1503mainactivity), title="example 15-3 Local notification complete Example", Desc ="demonstrate the full use of local notifications" }, }});
"Android" 15.0 15th broadcast and notifications-example of this chapter main interface