How to detect if my application is exiting so I can save state?
Answer Posted / 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 |
Post New Answer View All Answers
Explain how to deserialize json from a rest call?
How the volume work between apps and hardware buttons on the device?
is there an api for retrieving information on the files located in the store? I am looking to check when it was last written?
How to manage my isolated storage quota?
What is the latest version of windows?
Tell me is it possible to run two instances of emulator on the same machine. I am doing some networking app and need two emulators to test it?
Explain starting with april ctp refresh, I can compile and debug my xna game, but it does not show up in list of applications when I am not launching it on thedebugger?
What is windows phone bluetooth?
Explain how to play video in isolatedstorage using mediaelement?
Tell me are there api's to read rss/atom feeds?
Explain how to play two mediaelements at once?
Tell me are there canned mvvm "data behaviors" planned for wp7?
Why did my phone go into safe mode?
Is there any internal page notification that it receives to detect a phone call?
Is wcf supported in windows phone?