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.example.client; import java.io.IOException; import java.net.InetSocketAddress; import java.net.Socket; import java.net.SocketAddress; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class ClientTestActivity extends Activity { // Define our variables SocketAddress sockaddr; // Our socket address Socket my_socket; // Our Socket to send xml data TextView display_txt; // The display view we use to communicate results /** Called when the activity is first created. */ [syntax="java"][/syntax] @Override public void onCreate(Bundle savedInstanceState) { /** Default constructors */ super.onCreate(savedInstanceState); setContentView(R.layout.main); display_txt = (TextView)findViewById(R.id.textView1); /** Protect against exceptions */ try { /** define the socket address. 10.0.2.2 should map to "Localhost" */ SocketAddress sockaddr = new InetSocketAddress("10.0.2.2", 23); /** Instantiate and connect the socket */ my_socket = new Socket(); my_socket.connect( sockaddr ); } catch (IOException e) { /** Report an exception encountered */ display_txt.setText("Nasty Error"); } finally { /** Catch any exception thrown from closing the socket */ try { /** Close our socket and report results */ my_socket.close(); display_txt.setText("Connected Okay!"); } catch (IOException e) { /** Display the error trying to close */ display_txt.setText("Could not close socket."); } } } }