showUrlInBrowser( url ) method

This function opens the supplied URL in a browser.

The browser opens on top of the hybrid app - the context of the hybrid app is undisturbed.

Syntax

<static> showUrlInBrowser( url )

Parameters

Name Type Description
url string The URL to be shown in a browser.

Example

hwc.showUrlInBrowser( "http://www.google.com" );

Source

hwc-comms.js, line 1017.