7. 3 kinds of notifications Raw notification message content is app-specific delivered directly to app only if it’s running Toast specific xml schema Content delivered to app if it’s running If app is not running, system displays Toast popup using notification message content Tile specific xml schema Never delivered to app If user has pinned to app tile, system updates it using notification message content 7
18. PNbasic Client: Windows Phone Device Microsoft Push Notification Service (MPNS) Provider: Web Application / Cloud Service 18
19. PN process Push client Tile Toast Open Chanel App Open push channel Return URI Data to toast Data to tile Data to App Return Chanel URI MPNS Your service Send URI to server Event Send push data to client 19 Send push data to URI
20. PN program model 建立服务端Web Service。 功能: a)接收客户端Chanle URI并保存在列表中 b)向MPN S发送通知 建立WP7客户端端应用程序。 功能: a)向MPNS注册Chanel b)将Chanel URI提交给服务端 c)接收通知并处理、显示 20