Process Dialog: Android

  • August 8, 2010

To display a process dialog in Android you can use the following code:

final ProgressDialog pd = ProgressDialog.show(this,
	"Title",
	"Message",
	true, false);

	new Thread(new Runnable(){
        	public void run(){

        	//Execute code in background here

        	pd.dismiss();
        	}
    	}).start();



No Comments


You can leave the first : )



Leave a Reply

Your email address will not be published. Required fields are marked *