[urgent] Click secondary magnet can directly open the internal application, such

StandardTileData tileFly = new Microsoft.Phone.Shell.StandardTileData
Title = "Flight mode",
BackTitle = "Shortcuts assistant",
BackContent = "Opening and closing the flight mode",
BackgroundImage = new Uri("Assets/sucai/ciji_fly.png", UriKind.RelativeOrAbsolute),
BackBackgroundImage = new Uri("Assets/sucai/ciji_back.png", UriKind.RelativeOrAbsolute),
ShellTile.Create(new Uri("/Quick_Fly.xaml?act=fly", UriKind.Relative), tileFly);

Write a method in a Quick page open Bluetooth can, but also to show what the Quick page back, how can not display the Quick page? And great adviceļ¼

Started by Maxine at December 13, 2016 - 9:52 PM

protected override void OnNavigatedFrom(NavigationEventArgs e)
if (this.NavigationService.CanGoBack)

Override the OnNavigatedFrom method of the page navigation, remove the back stack.

Posted by Boyd at December 21, 2016 - 10:36 PM


Posted by Maxine at December 24, 2016 - 11:07 PM

The 64602 is what things, , ,

Posted by Boyd at January 03, 2017 - 11:35 PM

I do not know your problem solving not, I also encountered this problem at hand when. See the solution moderators, feeling quite on theory, but I'm in a secondary magnet this page to override this method. Trace breakpoint, [this.NavigationService] CanGoBack, CanGoForward false. For us.~

Posted by Cleveland at January 10, 2017 - 12:40 AM

Remove the back stack is not good here, turn on Bluetooth, WiFi which has specialized URI call, refer to the following:

ShellTile.Create(new Uri("/Quick_Fly.xaml?act=fly", UriKind.Relative), tileFly);
This sentence in your URI directly replace URI here

Posted by Simon at January 13, 2017 - 12:24 AM