Sample App Notifications
The Stock Quoter app uses all three types of push notifications, which are described in the following sections.
Tile Notifications
Tile notifications are sent periodically from the StockQuoteService
and are displayed as shown in Figure 15.7. The tile notification contains a Text1
data property equal to Stock Quote and a Text2
data property that is the result of calling the ToString
method of the StockQuote
object, which produces a combination of the stock symbol, the stock’s last price, and its change in price.
Toast Notifications
Toast notifications are sent periodically from the StockQuoteService
and are displayed as shown in Figure 15.4. The sample uses the title property of the tile notification to display the ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.