How to detect if my application is exiting so I can save state?



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

Post New Answer

More Windows Phone OS Interview Questions

What are the supported codecs for video?

0 Answers  


What is windows phone web browser?

0 Answers  


Can we control the WebBrowser controls zooom?

1 Answers  


Explain about windows phone web browser?

0 Answers  


Suppose I am trying to receive toast notifications in emulator app. I got everything setup but notification does not show up in emulator at all?

0 Answers  






is there an api for retrieving information on the files located in the store? I am looking to check when it was last written?

0 Answers  


What is windows phone user interface?

0 Answers  


Suppose I am trying to detect if an external headset is attached to the phone, can I use microsoft.xna.framework.audio.microphone.isheadset?

0 Answers  


I see applications using listbox that show scrollbar only on while scrolling. How can I detect that I am scrolling?

1 Answers  


Explain how to deserialize json from a rest call?

0 Answers  


How to pin an app on the emulator?

1 Answers  


Is .bmp format supported?

0 Answers  


Categories