« 回覆文章 #1 於: 八月 11, 2017, 01:14:18 am »
Notifier
The Notifier component displays alert dialogs, messages, and temporary alerts, and creates Android log entries through the following methods:
ShowMessageDialog: displays a message which the user must dismiss by pressing a button.
ShowChooseDialog: 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.
ShowTextDialog: lets the user enter text in response to the message, after which the AfterTextInput event is raised.
ShowAlert: displays a temporary alert that goes away by itself after a short time.
ShowProgressDialog: displays an alert with a loading spinner that cannot be dismissed by the user. It can only be dismissed by using the DismissProgressDialog block.
DismissProgressDialog: Dismisses the progress dialog displayed by ShowProgressDialog.
LogError: logs an error message to the Android log.
LogInfo: logs an info message to the Android log.
LogWarning: 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