-
• #2
It is: the launcher and Settings are just special apps, opening them is the same as calling
load('launch.app.js')
orload('setting.app.js')
. -
• #3
I would see the kill event as notification that your app is about to be killed. It gives you the chance to write some state away for when it gets reloaded (if that is something you want to do).
Kill event documentation says that "This event is called just before the device shuts down ..." but I'm seeing this event in my widget every time widget is stopped, for example if I enter launcher and then again if I enter Settings in launcher.
Is this intended behavior?