Navigator window management

Navigator uses WebWorks for window management.

A WebWorks app is a standalone web app that can be deployed to the QNX CAR application platform. The structure of such an app is shown in the figure below. An application developer supplies the application JavaScript code and any required extensions to WebWorks. The application software can use WebWorks JavaScript objects.

Figure 1. Application structure

By default, WebWorks sets up the required WebViews. Navigator's role is to manage these WebViews. A WebView can be visible, invisible, or transparent. The currently running app is displayed in a visible WebView. A transparent WebView is always available to allow notifications such as dialogs to appear over top of the current application. The controller mechanism runs concurrently in an invisible WebView. The Controller, the first app that is launched, has access to the WebLauncher API. This allows the Controller to create other WebViews. The structure of the user interface is shown in the figure below. The top Status bar and bottom bar are always visible. Several WebViews can be active, though only one at a time is visible.

Figure 2. Navigator layout