Joke Collection Website - Public benefit messages - What's the difference between broadcast and notification in android?

What's the difference between broadcast and notification in android?

1, broadcast

Android realizes communication between different processes through broadcasting; There is also a broadcast receiver (broadcast) corresponding to the broadcast cat.

Recipient); Each broadcast specifies a corresponding action.

Type and other information, according to which each receiver filters whether it wants to receive the broadcast.

2. notice; pay attention to

Notification is a common notification method in Android. When there are unread messages or missed calls, there will be a prompt icon in the status bar of the screen. At this point, you can drop down the status bar to read the notification. When using WeChat (WeChat running in the background), if there is any new message, a voice prompt will be issued, and the status bar also has the corresponding WeChat prompt.

3. The relationship between broadcast and notification in 3.Android.

Broadcast is to receive the request, and notification is to tell the user the processing result.