Reputation: 567
I am developing a Windows Phone8 application and the moment application is launched I am doing certain functionality. But after that immediately I want to send the application to background/Close the application.
Means I want to simulate the Back Key functionality from code. Is there any provision for this?
Upvotes: 1
Views: 594
Reputation: 2461
No you can't force the user to close the app unexpectedly from your code. And don't go as far as throwing an unhandled exception and crashing the app, that's not very user-friendly.
Upvotes: 1