Windows Phone 7 offers push notification feature, which helps you to avoid polling server for updates. Any app can subscribe for push notification. There are three types of notification.
- Toast – A notification shown at the top of current screen. Like the SMS alert shown.
- Tile – The tile image or data in tile updated. Like the Email / Message count updated as and when they arrive.
- Raw – This is XML data send to the app to process. This is available only when application is running. The application can process the data in the manner it want.
How it works
- When the Windows Phone Application start it register itself for Push Notification with "Microsoft Push Notification Service", to get unique URI for the device and for the App
- The Windows Phone Application passes the URI to it Cloud Service.
- Cloud Service sends notification with URI to MPN.
- MPN routes the notifications to devices.
- The device receives the notification and interoperates.
URI is unique for each device and application.
Ref: Yochay kiriaty blog
No comments:
Post a Comment