Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package org.anddev.android.progressbar; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import android.os.Handler; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class ProgressBar extends Activity { ProgressDialog myProgressDialog = null; @Override public void onCreate(Bundle icicle){ super.onCreate(icicle); /* Create a very simple button */ Button b = new Button(this); this.setContentView(b); b.setText("Show ProgressBar..."); /* Assign the OnClicklistener to it, * that will fake some work and * display a progress-bar */ b.setOnClickListener(myProgressBarShower); } /** OnClickListener that fakes some work to be done. */ OnClickListener myProgressBarShower = new OnClickListener(){ // @Override public void onClick(View arg0) { // Display an indeterminate Progress-Dialog myProgressDialog = ProgressDialog.show(ProgressBar.this, "Please wait...", "Doing Extreme Calculations...", true); Handler handler=new Handler(); new LoadingThread(handler).start(); } }; } class LoadingThread extends Thread { Handler handler; public LoadingThread(Handler handler) { super(); this.handler=handler; } public void run() { try{ //do some work sleep(5000); } catch (InterruptedException e) { } handler.post(new FinishThread()); } } class FinishThread extends Thread { public void run() { //you can change UI etc if(myProgressDialog!=null) myProgressDialog.dismiss(); } }