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
What is the windows phone front page?
Tell me is there an api for retrieving information on the files located in the store? I am looking to check when it was last written?
Can we control the web browser controls zoom?
Explain how to access the liveid credentials a user has entered into the device?
Is securestring supported in windows phone?
Tell me in my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?
Does the web browser control share the ie cache?
How to show the sip keyboard in xna app?
Why did my phone go into safe mode?
is there a way to know if my code is running on emulator or device?
What is windows phone?
Tell me is wcf supported in windows phone?
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?
Will texttrimming property be available on textblock?
Tell me are there canned mvvm "data behaviors" planned for wp7?