Book Image

Visual Studio 2013 and .NET 4.5 Expert Cookbook

Book Image

Visual Studio 2013 and .NET 4.5 Expert Cookbook

Overview of this book

Table of Contents (14 chapters)
Visual Studio 2013 and .NET 4.5 Expert Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Working with notifications in Windows Phone


The push notification is in-built on most of the modern smart phones. A Windows Phone, being no exception, also implements a number of notification techniques that can be used to bring notifications to the client app from an external source. The server can push notifications to the device and when the device receives the notification, an event occurs.

Push notifications are of three types:

  • Toast notification: This notification is launched at the top of the screen with a custom message such as an e-mail alert. The notification will be displayed for 10 seconds unless the user dismisses the alert. If user clicks on the alert, then the application that sends the notification will be launched.

  • Tile notification: This notification is used to display dynamic representation of an application state. We can control the image, text, and badge count of the notification.

  • Raw notification: This notification can be used only when the application is running in...