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)
import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.ServerSocket; import java.net.Socket; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.widget.TextView; public class AndroidServer extends Activity { /** Called when the activity is first created. */ public static TextView tv; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // setContentView(R.layout.main); tv = new TextView(this); tv.setText("Main - server"); setContentView(tv); Thread sThread = new Thread(new TCPServerTest()); sThread.start(); } } class TCPServerTest implements Runnable{ public static final String SERVERIP = "10.0.2.15"; public static final int SERVERPORT = 4444; public void run() { try { Log.d("TCP", "S: Connecting..."); ServerSocket serverSocket = new ServerSocket (SERVERPORT); while (true) { Socket client = serverSocket.accept(); Log.d("TCP", "S: Receiving..."); try { BufferedReader in = new BufferedReader(new InputStreamReader(client.getInputStream())); String str = in.readLine(); Log.d("TCP", "S: Received: '" + str + "'"); AndroidServer.tv.setText(str + " ------ " + SERVERIP); } catch(Exception e) { Log.e("TCP", "S: Error", e); } finally { client.close(); Log.d("TCP", "S: Done."); } } } catch (Exception e) { Log.e("TCP", "S: Error", e); } } }