How to detect if my application is exiting so I can save state?
Answer / diana
You can listen to Application.Exit, but this might be too late most of the time. You should listen for the Pause event and save your state there.
Is This Answer Correct ? | 0 Yes | 0 No |
Suppose I am trying to detect if an external headset is attached to the phone, can I use microsoft.xna.framework.audio.microphone.isheadset?
What is windows phone media support?
Tell me What are the supported codecs for video?
Explain Windows Phone Multitasking?
Will texttrimming property be available on textblock?
What is windows phone bluetooth?
Explain how to deserialize json from a rest call?
On april ctp refresh, splashscreen appears for 3 seconds and disappears (even if my page is not fully loaded)?
What is the latest version of windows?
How to manage my isolated storage quota?
Explain how to pin an app on the emulator?
Is there any internal page notification that it receives to detect a phone call?