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)
public class GetDataFromTheWeb extends Activity { String myString = "Test: "; Proxy p; @Override public void onCreate(Bundle icicle) { try{ Socket s=new Socket("vsnlproxy.in",3128); SocketAddress sa=s.getLocalSocketAddress(); p=new Proxy(Proxy.Type.HTTP,sa); }catch(Exception e) { myString = "Socket Error"+e; } super.onCreate(icicle); TextView tv = new TextView(this); try { URL myURL = new URL("http://www.anddev.org/images/tut/basic/getdatafromtheweb/loadme.txt"); URLConnection ucon = myURL.openConnection(); InputStream is = ucon.getInputStream(); InputStream bis = new BufferedInputStream(is); Reader reader = new InputStreamReader(bis); int x; int count = 0; byte by[] = new byte[20]; while((x = reader.read()) != -1) { if(count < 20) { by[count] = (byte) x; } count++; } for(int i=0; i<20; i++) { myString = myString + (char)by[i]; } } catch(MalformedURLException ex) { myString = "MalformedURLException occured."; } catch(IOException ex) { myString = "IOException occured." + ex; } tv.setText(myString); setContentView(tv); } }