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

Is asp.net forms authentication supported?

559


Suppose when I deployed my xna app to the xde, the orientation is in portrait mode, but when I deploy it to a device, it's in landscape mode.?

474


What is the windows phone front page?

672


What is windows phone web browser?

632


Tell me are there api's to read rss/atom feeds?

571






Explain how to detect the resolution of my device?

520


is there a way to know if my code is running on emulator or device?

602


Explain how to access the liveid credentials a user has entered into the device?

486


Can I turn article photos off?

568


Explain how to enable/disable alerts?

538


where is the best recommended place to store both static and user-specified configuration information?

592


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?

481


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?

527


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?

524


Explain how to save screen from an xna app?

571