Archive for March 12, 2014

Setting the Start Page – Windows Phone 8

In my windows phone 8 application I have 2 xaml files.

By default when you run the application, it opens ‘MainPage.xaml’.

To set my second file (i.e., ‘MediaPlayer.xaml’) as start page.

• Open ‘WMAppManifest.xml’
• In ‘Application UI’ tab, set Navigation Page = MediaPlayer.xaml

Set Navigation Page WP8

Set Navigation Page WP8

We can also change it in App.xaml in the Application_Launching event with below statement

App.RootFrame.Navigate(new Uri("/MediaPlayer.xaml",UriKind.Relative));