android progress dialog

Send Snippet To: Save this snippet to Code Collector Pro -- view all balzan's snippets
language: Objective-C
license: Other

Code for Snippet:

                
// import it
import android.app.ProgressDialog
 
// create it
   progressDialog = new ProgressDialog(ctx)
    progressDialog.setTitle("Please wait ...")
    progressDialog.setMessage("Downloading the required information for the first run.\nPlease make sure that your device is connected to the internet.")
    progressDialog.setCancelable(false)
    progressDialog.setIndeterminate(true)
 
//show it
 progressDialog.show()
 
 
 
// hide it
 progressDialog.dismiss()
comments powered by Disqus

Info

Link to this snippet:


Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 372
Date Added: 2014-02-26 22:55:24
Last Modified: 2014-02-26 15:55:41

Web Analytics