How to restart or shutdown my application programmatically?

Answer Posted / diana

There is no API to do this. Hitting ‘back’ when there is only one page left on the stack is the way to exit the application. Hitting Start button does not exit, just pauses it

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is xmldocument class?

612


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?

635


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

706


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?

623


How to show the sip keyboard in xna app?

666


Explain how to enable/disable alerts?

668


Tell me is wcf supported in windows phone?

764


How do I find my downloads on this phone?

612


Suppose have a very simple application that uses the applicationbar. The app bar shows one menu item when in portrait. However as the second image shows theapp bar displays now items in landscape mode. Is that by design or a bug?

655


Can I write multi-player games using wi-fi or blue tooth in the device.?

719


Tell me can I open sockets in windows phone?

653


Explain about windows phone web browser?

834


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

733


Can not find phoneapplicationpage.fullscreen in april ctp?

672


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?

664