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
How to get the geolocation data on a picture?
Explain how to manage my isolated storage quota?
What happens to isolatedstorage when app is uninstalled?
Tell me can I write multi-player games using wi-fi or blue tooth in the device.?
What are the supported codecs for video?
Suppose I have lost one of the application templates in visual studio 2010. It's available in the file system but not in visual studio... Any ideas?
In the emulator, networkinterface.getisnetworkavailable() always return false?
Explain how to customize front page?
What is windows phone media support?
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?
Explain how to access the liveid credentials a user has entered into the device?
Some images look different when synced to the device and read programmatically. Do decoders change these?
Are there apis to read rss/atom feeds?
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?
Can I use my phone as a boot device?