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 void server() { DataOutputStream os=null; DataInputStream is = null; ServerSocket socket = null; Socket ClientSocket = null; String out = null; try { socket = new ServerSocket(SERVERPORT);//10.0.2.2 if(socket == null) { Log.d("TagServer()", "socket null"); } else { Log.d("TagServer()", "Waiting..."); ClientSocket = socket.accept(); os = new DataOutputStream(ClientSocket.getOutputStream()); is = new DataInputStream(ClientSocket.getInputStream()); /* By magic we know, how much data will be waiting for us*/ byte[] buf = new byte[100]; int readLen = 0; boolean listening = true; while(listening == true) //while((out != "end") || (readLen = is.read(buf, 0, 100)) != -1) //while (out != "end") { if ((readLen = is.read(buf, 0, 100)) != -1){ out = new String(buf, 0, readLen-1); Log.d("TCP", out); os.writeBytes("gotit"); //String test = out.toString(); listening = !out.contentEquals("end"); listening = !out.matches("end"); } } os.close(); is.close(); socket.close(); ClientSocket.close(); Log.d("TagServer()", "Finished"); notificationMgr =(NotificationManager)getSystemService(NOTIFICATION_SERVICE); displayNotificationMessage("Server Stopping"); stopSelf(); } } catch(Exception e) { System.out.println(e); Log.d("TagServer()", e.toString()); } } }