Windows Phone app crash on device RRS feed

  • Question

  • I make installed app on windows phone which crash but when I run in windows emulator it did not crash

    I have button where I load page which have browser and I try to load there

    Code for button click

    private void Button_Click(object sender, RoutedEventArgs e)
          QueryString queryString = new QueryString { Parameter = "" };
          App.RootFrame.Navigate(typeof(WebViewPage), queryString); 

    onNavigatedTo of other page

    protected override void OnNavigatedTo(NavigationEventArgs e)
          QueryString param = e.Parameter as QueryString;
          Uri uri = new Uri(param.Parameter,UriKind.Absolute);

    I don't know what is the issue but it is crashing on the device

    Thursday, September 3, 2015 4:26 PM

All replies

  • Check the permissions in the manifest for the app.  Maybe you are missing a required permission like internet.  The emulator does not always check the manifests permissions
    • Edited by Ken Tucker Saturday, September 5, 2015 2:09 PM
    Saturday, September 5, 2015 2:09 PM
  • I don't know what happen but, I reset my phone and install app from beginning. All seems working good. 
    Sunday, September 6, 2015 5:54 AM