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)
public class TestProgressDialog extends Activity { ProgressDialog progressDialog = null; Handler progressHandler = new Handler(); Button b; TextView textView; Login loginThread; @Override public void onCreate( Bundle icicle ) { super.onCreate( icicle ); textView = new TextView( this ); textView.setText( "Click button to log-in" ); b = new Button( this ); LinearLayout layout = new LinearLayout(this); layout.addView(b); layout.addView(textView); this.setContentView( layout ); b.setText( "Show Progress..." ); b.setOnClickListener( new MyProgressBarShower( this ) ); } class MyProgressBarShower implements OnClickListener { TestProgressDialog testProgressDialog; public MyProgressBarShower( TestProgressDialog argTestProgressDialog ) { testProgressDialog = argTestProgressDialog; } @Override public void onClick( View argV ) { progressDialog = ProgressDialog.show( TestProgressDialog.this, "", "Connecting...", false, true ); textView.setText( "Connecting..." ); loginThread = new Login(testProgressDialog); loginThread.start(); } } public void showState( final String argState ) { // use of progressHandler is important progressHandler.post( new Runnable() { public void run() { if( "LoggedIn".equals( argState ) ) { textView.setText( "Login completed...." ); progressDialog.dismiss(); loginThread.stop(); loginThread = null; } else { textView.setText( argState + "..." ); progressDialog.setMessage( argState + "..." ); } } }); } class Login extends Thread { TestProgressDialog testProgressDialog; public Login( TestProgressDialog argtestProgressDialog ) { testProgressDialog = argtestProgressDialog; } public void run() { for( int i=1; i<=12; i++ ) { try { sleep( 1000 ); } catch( InterruptedException e ) { e.printStackTrace(); } switch( i ) { case 3: testProgressDialog.showState( "Authenticating" ); break; case 6: testProgressDialog.showState( "Logging in" ); break; case 9: testProgressDialog.showState( "LoggedIn" ); break; } } } } }