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 abstract class AppObserver extends Application { private static final String LOGTAG="AppObserver"; private static final int TIMEOUT=3000; //ms private boolean clientOnline; // implement here your shutdown logic public abstrace void shutdown(); public void informClientOnline() { clientOnline=true; Log.v(LOGTAG, "Client is online!"); } public void informClientShutdown() { clientOnline=false; Log.v(LOGTAG, "Client is going offline. Waiting for restart..."); Timer t=new Timer("shutdowntimer", false); t.schedule(new TimerTask() { @Override public void run() { if(!clientOnline) { Log.v(LOGTAG, "Client has not restartet! Shutting down..."); shutdown(); System.exit(0); } } }, TIMEOUT); } }