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 com.arka.Ticking; import android.app.Activity; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.KeyEvent; public class Ticking extends Activity { static final String TAG = "Ticking"; static final int MSG_CONTINUE = 0x1; static final int MSG_RESET = 0x2; static final int TOUT = 10; private int secondspassed = 0; @Override protected void onResume() { super.onResume(); // start count down Log.i(TAG, "Start counting down"); mHandler.sendEmptyMessage(MSG_CONTINUE); } @Override protected void onPause() { super.onPause(); // stop count down Log.i(TAG, "Stop counting down"); mHandler.removeCallbacksAndMessages(null); } Handler mHandler = new Handler() { @Override public void handleMessage(Message msg) { if (msg.what == MSG_CONTINUE) { secondspassed++; if(secondspassed == TOUT) { Log.i(TAG, "TimeOut!!!"); secondspassed = 0; } } else if (msg.what == MSG_RESET) { mHandler.removeCallbacksAndMessages(null); secondspassed = 0; Log.i(TAG, "Reset!!!"); } Log.i(TAG, "Ticking!!! " + secondspassed); // send next tick sendEmptyMessageDelayed(MSG_CONTINUE, 1000); } }; @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER) { // reset me mHandler.sendEmptyMessage(MSG_RESET); return true; } if (keyCode == KeyEvent.KEYCODE_BACK) { finish(); return true; } return false; } }