APIs and Page Actions
BlueFletch Browser contains built-in APIs or Actions that can be used directly from your website code.
Android Namespace
The following commands are declared under the window.android
namespace and can be used as follows:
Function | Description |
---|---|
| Instruct browser to show an Android toast message. |
| Instruct browser to redirect to the specified URL. |
| Instruct browser to go back one page |
| Instruct browser to close the current browser instance |
EMS Namespace
The following commands/actions are declared under the window.ems
namespace and can be used as follows:
Function | Description |
---|---|
| returns a JSON object containing the current Launcher session. |
| returns a JSON object containing the current Launcher configuration |
| Instruct browser to bring up the soft keyboard |
| Instruct browser to hide the soft keyboard |
| Instruct browser to send an Android Intent. The structure of the |
| Instruct browser to keep set a key-value string pair in memory |
| Retrieve the value for a given key from memory that was set using |
| Clear all key-value pairs stored in memory from |
| Instructs browser to enter into a fullscreen mode. |
| Instructs browser to exit the fullscreen mode. |
| Instructs browser to request the EMS Messaging application to subscribe to messages for the supplied topic. Introduced in Browser 2.3.14. Depends on the Messaging application. |
| Instructs browser to request the EMS Messaging application to unsubscribe from messages for the supplied topic. Introduced in Browser 2.3.14. Depends on the Messaging application. |
Last updated