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)
. . . . class MyHandler extends Handler { TerminalView tv; TextView txt; MyHandler(TerminalView termView, TextView txt) { super(); tv = termView; this.txt = txt; } public void handleMessage(android.os.Message msg) { Serializable serialized = msg.getData().getSerializable("hashmap"); HashMap hm = (HashMap) serialized; String msgText = hm.get("message"); if(msg.what == 0) { tv.cp.AddBuffer(msgText.toCharArray()); tv.invalidate(0,0,Integer.MAX_VALUE,Integer.MAX_VALUE); txt.setVisibility(View.INVISIBLE); } else if(msg.what == 1) { txt.setText(msgText); txt.setTextColor(0xFFFF0000); txt.setVisibility(View.VISIBLE); } else if(msg.what == 2) { txt.setText(msgText); txt.setTextColor(0xFF00FF00); txt.setVisibility(View.VISIBLE); } } } class TerminalSocket implements Runnable { public Thread tr; private MyHandler hnd; protected Socket sk = null; private InputStream iStream = null; public OutputStream oStream = null; public byte X = 1; public byte Y = 1; protected String Server = ""; protected int Port = 0; public TerminalSocket(MyHandler h) { hnd = h; tr = new Thread(this); } public void SocketStart() { tr.start(); } private Message StringToMessage(String s) { Message msg = new Message(); msg.what = 0; HashMap hm = new HashMap(); hm.put("message", s); Bundle bundle = new Bundle(); bundle.putSerializable("hashmap", hm); msg.setData(bundle); return msg; } private Message ErrorToMessage(String s) { Message msg = new Message(); msg.what = 1; HashMap hm = new HashMap(); hm.put("message", s); Bundle bundle = new Bundle(); bundle.putSerializable("hashmap", hm); msg.setData(bundle); return msg; } private Message InfoToMessage(String s) { Message msg = new Message(); msg.what = 2; HashMap hm = new HashMap(); hm.put("message", s); Bundle bundle = new Bundle(); bundle.putSerializable("hashmap", hm); msg.setData(bundle); return msg; } public void run() { InetAddress ia = null; hnd.sendMessage(InfoToMessage("Resolve server name " + Server)); try { ia = InetAddress.getByName(Server); } catch (UnknownHostException ex) { hnd.sendMessage(ErrorToMessage("Unknown host " + Server)); return; } hnd.sendMessage(InfoToMessage("Connecting to " + Server + ":" + Port)); try { sk = new java.net.Socket(ia, Port); } catch (IOException ex) { hnd.sendMessage(ErrorToMessage("Socket time out for " + Server + ":" + Port)); return; } try { iStream = sk.getInputStream(); oStream = sk.getOutputStream(); } catch (IOException ex) { hnd.sendMessage(ErrorToMessage("Protocol error for " + Server + ":" + Port)); return; } . . . .