Skip to content

Instantly share code, notes, and snippets.

@niyazpk
Created November 9, 2012 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niyazpk/4046566 to your computer and use it in GitHub Desktop.
Save niyazpk/4046566 to your computer and use it in GitHub Desktop.
app.addEventListener("activated", function (args) {
if (args.detail.kind === activation.ActivationKind.launch) {
if (args.detail.previousExecutionState !== activation.ApplicationExecutionState.terminated) {
// paste the code here
} else {
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment