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|
What is windows phone?
What is the latest version of windows?
is there a way to know if my code is running on emulator or device?
Explain how to edit location for weather?
Will texttrimming property be available on textblock?
Can I turn off some of my local papers?
Can I get weather for my location?
Explain where is xmldocument class?
Can I write multi-player games using wi-fi or blue tooth in the device.?
What is safety mode on my phone?
How to identify a device or a user?
I looked through the medialibrary class in xna, and it looks like we can only enumerate through audio, but not video content in the media library?
How to sniff network traffic from the emulator?
In the emulator, networkinterface.getisnetworkavailable() always return false?
Suppose my site is down, and async calls are taking too long to timeout. How can I set a reasonable timeout?