-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Windows Phone 7 Silverlight Cookbook
By :
Now we will learn how to register for push notifications with the application server we created in the last recipe (Creating a service to send push notifications). In this recipe, we will create a surf updates app for the Hawaiian island of Oahu. The application will provide surf information about the island and allow you to select a specific beach to send hourly surf updates to the application tile.
Create a new project in Visual Studio named SurfTileNotifications using the Windows Phone Application template for the phone application.
The phone application will display some general information about the surf conditions of the island and then list all the beach surf conditions on the MainPage of the phone project:
1. First set the x:Name attribute on the PhoneApplicationPage to root. Delete the ApplicationTitle TextBlock. Set the text property on the PageTitle TextBlock to Oahu Surf Updates.
2. Next create a ScrollViewer with an inner vertical...
Change the font size
Change margin width
Change background colour