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 ClockActivity extends Activity { private class UpdateClock implements Runnable { ClockActivity act = null; public void run() { if ( act != null && !act.isFinishing() ) { act.updateClock(); } } } private class ClockTask extends TimerTask { ClockActivity act = null; public void run() { if ( act != null && !act .isFinishing() ) { UpdateClock update = new UpdateClock(); update.act = this.act ; act .runOnUiThread(update); } } } long start_time = System.currentTimeMillis(); Timer clock_timer = null; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.clock_activity); start_time = System.currentTimeMillis(); clock_timer = new Timer(); ClockTask clock_task = new ClockTask(); clock_task.act = this; clock_timer.scheduleAtFixedRate(clock_task, 0, 1000); } public void updateClock() { long current_time = System.currentTimeMillis(); long elapsed_time = current_time - start_time; Date elapsed = new Date(elapsed_time); int hours = elapsed.getHours(); int minutes = elapsed.getMinutes(); int seconds = elapsed.getSeconds(); String message = String.format("%3d:%02d:%02d", hours, minutes, seconds); TextView text_timer = (TextView) findViewById(R.id.text_timer); text_timer.setText(message); // uncomment for debugging // System.out.println(message); } }