From 9829bb72e3f20b73c678711f844c00ebc8e7114d Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Wed, 1 Jul 2015 11:04:32 +0300 Subject: [PATCH] comments added --- apps/tests/app/app.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/tests/app/app.ts b/apps/tests/app/app.ts index ed33d6bf3..8c41f0b0e 100644 --- a/apps/tests/app/app.ts +++ b/apps/tests/app/app.ts @@ -1,6 +1,7 @@ import application = require("application"); application.mainModule = "app/mainPage"; +// Common events for both Android and iOS. application.on(application.launchEvent, function (args: application.ApplicationEventData) { if (args.android) { // For Android applications, args.android is an android.content.Intent class. @@ -61,6 +62,7 @@ application.on(application.uncaughtErrorEvent, function (args: application.Appli } }); +// Android activity events application.on(application.androidActivityCreatedEvent, function (args: application.AndroidActivityBundleEventData) { console.log("Event: " + args.eventName + ", Activity: " + args.activity + ", Bundle: " + args.bundle); });