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 screen2 extends Activity implements OnClickListener { @Override public void onCreate(Bundle instance) { super.onCreate(instance); setContentView(R.layout.view2); Button bu = (Button)findViewById(R.id.exit); bu.setOnClickListener(this); Button bu1 = (Button)findViewById(R.id.but); bu1.setOnClickListener(this); } public void onClick(View v) { TextView tv = (TextView) findViewById(R.id.txt); if(v.getId()==R.id.exit) { tv.setText("you clicked exit"); Intent i = new Intent(this,tablelayout.class); startActivity(i); } if(v.getId()==R.id.but) { String myString = null; try { URL myURL = new URL("http://www.ssis.co.in/ongc"); URLConnection ucon = myURL.openConnection(); InputStream is = ucon.getInputStream(); BufferedInputStream bis = new BufferedInputStream(is); ByteArrayBuffer baf = new ByteArrayBuffer(50); int current = 0; while((current = bis.read()) != -1){ baf.append((byte)current); } myString = new String(baf.toByteArray()); } catch (Exception e) { myString = e.getMessage(); } tv.setText(myString); //tv.setText("you clicked but"); } } }