Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6837097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:26:08+00:00 2026-05-26T23:26:08+00:00

I use live title to launch a specific page: Live tile in Home screen

  • 0

I use live title to launch a specific page:

Live tile in Home screen –launch–> P1 after a task and goto –> P2 –> MainPage

When you click back button in MainPage the app won’t exit instead it goes to P2 in a loop fashion.

Here is the code:

        try
        {
            ShellTile TileToFind = ShellTile.ActiveTiles.FirstOrDefault(x => x.NavigationUri.ToString().Contains("PageTakePic.xaml"));

            if (TileToFind == null)
            {

                StandardTileData NewTileData = new StandardTileData
                {

                    //BackgroundImage = new Uri("Red.jpg", UriKind.Relative),
                    //--front tile
                    Title = "Take Pic",
                    //Count = 12,

                    BackTitle = "Quick Access",
                    //--40 char
                    BackContent = "Take Pic",
                    //BackBackgroundImage = new Uri("Blue.jpg", UriKind.Relative)
                };

                // Create the Tile and pin it to Start. This will cause a navigation to Start and a deactivation of our application.
                ShellTile.Create(new Uri("/PageTakePic.xaml", UriKind.Relative), NewTileData);
            }
            else
            {
                MessageBox.Show("A live title created for this service already.");
            }

        }
        catch (Exception ex)
        {
            MessageBox.Show("Try again. Error encountered: " + ex.Message);
            NavigationService.Navigate(new Uri("/MainPage.xaml", UriKind.Relative));
        }

Update:

Live tile in Home screen –launch–> P1 (PageTakePic.xaml) –> P2 –> MainPage

using below method not working In MainPage. It still goes into a loop:


protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
{
    base.OnNavigatedTo(e);

    NavigationService.RemoveBackEntry();
}

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:26:08+00:00Added an answer on May 26, 2026 at 11:26 pm

    It’s a common issue to consider with Deep Links from Live Tiles in Mango. What you need to do is remove the BackStack entries when you hit your Main Page so that hitting the back button will exit the app.

    Here is a snippet that may help:

        void ClearBackStack()
        {
            while (NavigationService.CanGoBack)
            {
                NavigationService.RemoveBackEntry();
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with jQuery selectors: $(ul.questions li).not(.title, .content).click().live('click', function(){ $(.inspector).slideToggle(); if($(this).hasClass(selected)) {
I'm trying to use Live Search 2.0 but even a simple example doesn't seem
I want to use the live method to hide an element if the user
I need a way to use the jquery .live() function to act on elements
I am trying to encode media files to use for HTTP Live Streaming, but
I use blogger and I install a windows live writer, I don't know how
Should I use E_NOTICE enabled on live server? As I can see in Why
how to easily develop print css? with live preview/debugging, i'm on windows xp, use
I'm making table rows click-able with jQuery's $.live() function. Works perfectly on Chrome, Firefox
I want to use jquery live() to automatically select the text in a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.