Used to modify application global behavior and appearance. Works as singleton, you can create instance of this class in any page.
sets the color and style of topmost status bar, style can be one of three available values: "Default", "Black" or "BlackTranslucent" (not case sensitive).
Controls application's idle timer. You should set idle timer disabled only if it's really necessary and be sure to enable idle timer when the need no longer exists. By default idle timer enabled.
Makes iPhone device to vibrate, does nothing on iPad or iPod devices
sets number of application badges (shown on application icon in red circle)
retrieves string which represents iPhone OS version (i.e. "3.0")
var application = new NKApplication(); application.setStatusBarStyle("black");