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.cliente; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.InetAddress; import java.net.Socket; import android.util.Log; public class TCPClient implements Runnable { private String utilizador = "user1"; private String password = "userpass"; private int porto = 4444; private String host = "127.0.0.1"; //localhost private int verifica_login = 2; private Socket socket = null; private ObjectOutputStream out = null; private ObjectInputStream in = null; @Override public void run() { try //criar ligação com a servidor { InetAddress serverAddr = InetAddress.getByName(host); Log.d("C-TCP", "C: Connecting..."); socket = new Socket(serverAddr,porto); //conecta com a socket servidor out = new ObjectOutputStream(socket.getOutputStream()); // escrever in = new ObjectInputStream(socket.getInputStream()); // ler Log.d("C-TCP","C: Connected with socket server"); //testado.setText("Connected with socket server"); try { do { out.writeObject(utilizador); out.writeObject(password); verifica_login = (Integer)in.readObject(); if(verifica_login==0)Log.d("C-TCP","C: User invalid"); }while(verifica_login!=1); Log.d("C-TCP","C: User loged"); } catch (Exception e) { Log.d("C-TCP","C: Error", e); } } catch (Exception e) { //testado.setText("This socked not exist"); Log.d("C-TCP","C: NAO EXISTE This socked not exist!"); } } }