"Android" 15.0 15th broadcast and notifications-example of this chapter main interface

Source: Internet
Author: User

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

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.