This function shows a progress dialog with spinner.
The dialog created by this function will block all user input until hwc.hideProgressDialog is called. It is important to be sure that hwc.hideProgressDialog will be called after a call to this function.
<static> showProgressDialog( [message] )
Name | Type | Argument | Description |
message | string | (optional) | The message to show on the progress dialog.This message is displayed on Android platforms only - other platforms show only a spinner. |
var showProgress = function() { hwc.showProgressDialog( "a message" ); setTimeout( hideProgress, 10000 ); } var hideProgress = function() { hwc.hideProgressDialog(); }