Mobile - - By Nick Randolph

Nokia Windows Phone: Question 1

We’re running a challenge wherein you can Win a Nokia Windows Phone. The rules of said competition are detailed in the aforelinked post. There will be many more questions over the coming weeks, here is Question 1.

Question 1

Silverlight for Windows Phone has a similar navigation model to Silverlight for the desktop where you have a frame which hosts a series of pages. Unlike on the desktop, where you may have content outside the frame (for example header, footer or perhaps a navigation menu), in most phone applications the frame takes up the entire screen, and subsequently the pages that render within the frame also take up the entire screen. To navigate between pages you can either call the Navigate method on either the frame, or via the NavigationService that is exposed as a property on each page within a Windows Phone application. For example, the following navigates to SecondPage.xaml

this.NavigationService.Navigate(new Uri("/SecondPage.xaml", UriKind.Relative));

In addition to being able to navigate forward to a new page, there are many more navigation APIs available to your Windows Phone application. List a navigation API and provide a short example of how you might use it within your application?