Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.onactivated = function (args) {
- if (args.detail.kind === activation.ActivationKind.launch) {
- if (args.detail.previousExecutionState !== activation.ApplicationExecutionState.terminated) {
- // TODO: This application has been newly launched. Initialize
- // your application here.
- } else {
- // TODO: This application has been reactivated from suspension.
- // Restore application state here.
- }
- args.setPromise(WinJS.UI.processAll());
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement