c# - Windows Phone: RemoveBackEntry after navigate failing -


I have an intermediate "Loading" page for my game: I send them there and "load" Is happening ... "text which shows that the thick game page loads:

  Private Zero Onloaded (Object Sender, RoutedEventArgs e) {Dispatcher.BeginInvoke (() = & Gt; {try NavigationService.Navigate (New Uri ("/ gamepage.xml", UricKind.Relative), Navigation Service.Rivblock Entry ();} Catch (Invalid Operation Expression) {}})}  

Then when you press the back button you go to the main page instead of going back to the loading screen, there is no other logic on the page.

However, I just got a store submission: Samsung Focus and The navigation entry for the apparently loading page on the Odyssey was not removed, and on the loading page sent back to the user when they press the back button instead of returning to the main menu, I click RemoveBackEntry. Knowledge I am engaged.

It looks like it should work, I error again can not occur and no focus or Odyssey to work with me. Does anyone know what can be wrong?

I think you should change:

  NavigationService RemoveBackEntry (); With  

:

  while (navigation service. CANGoBack) {NavigationService.RemoveBackEntry (); }  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -