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 asd.addrmatch; import asd.addrmatch.R.*; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class match extends Activity { public final static String DEFAULT_SERVER = "http://pcdb.qdesk.co.uk/services/DtvService"; public final static String SOAP_ACTION = "\"urn:getTargetProperty\""; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); final Button button = (Button) findViewById(R.id.btnTarget); button.setOnClickListener(new android.view.View.OnClickListener() { public void onClick(View v) { String server = DEFAULT_SERVER; try { URL u = new URL(server); URLConnection uc = u.openConnection(); HttpURLConnection connection = (HttpURLConnection) uc; connection.setDoOutput(true); connection.setDoInput(true); connection.setRequestMethod("POST"); connection.setAllowUserInteraction(true); connection.setRequestProperty("SOAPAction", SOAP_ACTION); OutputStream out = connection.getOutputStream(); Writer wout = new OutputStreamWriter(out); wout.write("\r\n"); wout.write("\r\n"); wout.write(" \r\n"); wout.write(" \r\n"); wout.write("" + "2989787" + "\r\n"); wout.write("" + "0" + "\r\n"); wout.write(""); wout.write(" \r\n"); wout.write("\r\n"); wout.flush(); wout.close(); InputStream in = connection.getInputStream(); int c; while ((c = in.read()) != -1) System.out.write(c); in.close(); } catch (IOException e) { System.err.println(e.getStackTrace()); System.err.println(e); } }}); } }