showProgressDialog( [message] ) method

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.

Syntax

<static> showProgressDialog( [message] )

Parameters

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.

Example

var showProgress = function()
{
   hwc.showProgressDialog( "a message" );
   setTimeout( hideProgress, 10000 );
}

var hideProgress = function()
{
   hwc.hideProgressDialog();
}

Source

hwc-comms.js, line 1475.