Browser
The Browser application launches to a specific URL by using the Application Manager service. The launched URL appears in a separate card.
Notes:
- The browser can load any website that is accessible over conventional http and https protocols.
- To open the browser in a scene within your application instead of a separate card, refer to the WebView widget.
- For information about compatibility with Web standards, see the Browser Standards page.
Method
This section describes the following method:
- open
open
Launches the Browser application.
Required parameter:
- id
Parameters
Parameter | Type | Description |
---|---|---|
id | string | Set to "com.palm.app.browser". |
params.target | string | Optional. URL of the form "://", where url is a well-formed URI to access a Web location. |
Return Handling
There are no attributes for return handling.
Example
this.controller.serviceRequest("palm://com.palm.applicationManager", { method: "open", parameters: { id: 'com.palm.app.browser', params: { target: "://" } } });
Sample Code
See Services Sample.