Description:
The openURL
method opens a specified link in the
Web Browser for S60 in the stand-alone mode. The widget remains open but is
sent to the background.
Syntax:
[void] window.widget.openURL(String url)
or
[void] widget.openURL(String url)
Arguments:
url
:
A compact string specifying a link to a resource to be opened. The URL string format is compliant with the RFC-1738 specification and must be encoded if it contains non-ASCII characters.
Return value:
This method does not return a value.
Remarks:
The WRT environment does not enforce any restrictions on the URL scheme. Supported URL schemes and restrictions (if any) are applied by the Web Browser for S60.
Example code:
var url = "http://www.S60.com/browser"; widget.openURL(url);