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.android.maptest; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import java.net.ServerSocket; import java.net.Socket; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; public class chatting extends Activity { public EditText input; private EditText output; BufferedReader in; PrintWriter out; String inputmessage="empty..."; String inmessage; int i=1; protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.chatting); new Comm().start(); input= (EditText) findViewById(R.id.inputchat); input.setText(" "); output= (EditText) findViewById(R.id.outputchat); output.setText(" "); Button sendbutton = (Button) findViewById(R.id.sendbutton); sendbutton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { out.println(output.getText()); } }); } public class Comm extends Thread { public void run() { try { // establish server socket ServerSocket s = new ServerSocket(8188); // wait for client connection – as soon as this comes, Socket incoming = s.accept ( ); //socket obj. incoming is constructed in = new BufferedReader (new InputStreamReader(incoming.getInputStream())); out = new PrintWriter (incoming.getOutputStream(),true/* autoFlush */); out.println( "Start talking..." ); out.println("ola kala?"); Boolean done=false; while(!done) {Thread.sleep(1000); if(in.ready()){ inmessage=in.readLine(); inputmessage=inmessage; out.println("Echo :"+inmessage); if(inmessage.equals("BYE"))done=true; input.setText(inmessage); } }out.println("End discussion..."); incoming.close(); }catch (Exception e) { e.printStackTrace(); } }} void fillinput(String in){ input.setText(in); } }