Managing the application life cycle (starting and stopping applications) is achieved through the launcher service by way of the Persistent Publish/Subscribe (PPS) service.
The HTML5 Navigator uses the JPPS extension to access PPS.
The figure below shows how an application is launched in the HTML5 Navigator:
Stopping an application follows a very similar flow to launching an application. The same libraries and the Launcher is used to terminate the application. The stopping of an application can be triggered by a touch or ASR event, or by the application itself.