Code example for ProgressDialog

Methods: setIndeterminatesetMessagesetProgressStyle, setCancelable

0
        	clearCache( false );
        } 
         
        private void InitProgressDlg() 
        { 
        	mProgressDlg = new ProgressDialog( mContext, android.R.style.Theme_Translucent_NoTitleBar );
        	mProgressDlg.setProgressStyle( ProgressDialog.STYLE_SPINNER );
        	mProgressDlg.setIndeterminate( true );
        	mProgressDlg.setCancelable( true );
        	mProgressDlg.setMessage( new String( "Loading...") ); 
        } 
    } 
     
    /************************************************************************************************* 
     *================================= Data members section ================================= 
     *  
     */ 
     
    private WazeWebViewBackCallback mBackCallback = null;
     
    private ProgressDialog mProgressDlg = null;