Hello Vivek,
I've added an event handler for onApplicationShutdown, but my handler does not get fired when I turn off the simulator (by click on the X button of the simulator). So there are 2 possibilities here:
1. My event handler code is not correct, I paste it here for verification:
CODE
this._appShutdownHandler.subscribeTo(KONtx.application, "onApplicationShutdown", this);
_appShutdownHandler: function(event) {
log("onApplicationShutdown is called");
}
2. The simulator does not fire the event onApplicationShutdown when it's closed.
So my question is: In which situation the onApplicationShutdown will be generated (both on simulator and TV)?
Many thanks in advance.
Tinh