Mobile
Article
By Nick Randolph

Nokia Windows Phone: Question 1

By Nick Randolph
Last chance to win! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

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?

--ADVERTISEMENT--

Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.
Is it good?Is it good?