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 7806435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:32:04+00:00 2026-06-02T02:32:04+00:00

I do some clean up stuff in my PhoneApplicationUnloaded event on a xaml page.

  • 0

I do some clean up stuff in my PhoneApplicationUnloaded event on a xaml page. If I put a breakpoint inside the event, I can see that it gets hit if I use the backbutton to unload the page, or if I navigate forward anywhere, but if I use the start button to go back to the home screen, I don’t see the breakpoint get hit.

Does this event really get called when you hit the start button? (maybe for some reason the emulator stops debugging when that happens and I don’t see it get hit) or does it not. And if it doesn’t what event should instead?

  • 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-06-02T02:32:06+00:00Added an answer on June 2, 2026 at 2:32 am

    There’s a good article on MSDN that explains what happens when Start button is pressed and which event you should bind to. Whenever the application gets interrupted (like by a phone call or start button), it gets tombstoned, and the associated Application_Deactivated event is raised. Whenever the focus gets back to your application, you get Application_Activated event (where you’re supposed to restore previous state).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to clean up some data that has been incorrectly entered. The
I have some clean up stuff in Application_End method in Global.asax. When an application
I recently got some fade in stuff working so that my loading view is
I was trying to clean up some accessability stuff in my code, and inadvertently
Lets say you had some resource clean up like: This is C#. try{/*stuff*/} catch(Exception
I'm going through my app, trying to clean up some code that sends e-mails.
Consider a Wicket WebPage that redirects to another page (based on some logic omitted
I am trying to clean up our web.config file such that per-deployment specific stuff
I need to do some clean up work when I am going to terminate
Is there some clean and elegant way to execute my code right after a

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.