Notifier
Last updated
Last updated
The Notifier component displays alert dialogs, messages, and temporary alerts, and creates Android log entries.
Displays a message which the user must dismiss by pressing a button. You can specify an animationType (1 to 5) where:
1 = pop-up from top
2 = Slide from top
3 = Slide from left
4 = Slide from bottom
5 = no animation
Displays a message two buttons to let the user choose one of two responses, for example, yes or no, after which the AfterChoosing event is raised. You can specify an animationType (1 to 5) where:
1 = pop-up from top
2 = Slide from top
3 = Slide from left
4 = Slide from bottom
5 = no animation
Lets the user enter text in response to the message, after which the AfterTextInput event is raised. You can specify an animationType (1 to 5) where:
1 = pop-up from top
2 = Slide from top
3 = Slide from left
4 = Slide from bottom
5 = no animation
Displays a temporary alert that goes away by itself after a short time. You can specify an alertType of 1 through 6.
Displays an alert with a loading spinner that cannot be dismissed by the user. It can only be dismissed by using the DismissProgressDialog block. You can also specify a progressStyle:
0 = Spinner style
1 = Horizontal style
Dismisses the progress dialog displayed by ShowProgressDialog.
Logs an error message to the Android log.
Logs an info message to the Android log.
Logs a warning message to the Android log.
The messages in the dialogs (but not the alert) can be formatted using the following HTML tags: <b>, <big>, <blockquote>, <br>, <cite>, <dfn>, <div>, <em>, <small>, <strong>, <sub>, <sup>, <tt>, <u>
You can also use the font tag to specify color, for example, <font color="blue">
. Some of the available color names are aqua, black, blue, fuchsia, green, grey, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow
Specifies the background color for alerts (not dialogs).
specifies the length of time that the alert is shown -- either "short" or "long".
Specifies the text color for alerts (not dialogs).
Event after the user has made a selection for ShowChooseDialog.
Event raised after the user has responded to ShowTextDialog.