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.proadmin.stacjebenzynowe; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.ImageView; public class Stacjebenzynowe extends Activity { /** Called when the activity is first created. */ ImageView imView; String imageUrl = "http://seth.coloco.pl/~tdi/"; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); Button bt = (Button) findViewById(R.id.get_imagebt); bt.setOnClickListener( new View.OnClickListener() { public void onClick(View view) { downloadFile(imageUrl+"stacje.jpg"); } }); imView = (ImageView) findViewById(R.id.imview); Log.i("im url",imageUrl+"png.png"); } private Bitmap bmImg; void downloadFile(String fileUrl) { //URL myFileUrl = null; // try { // myFileUrl = new URL (fileUrl); // } catch (MalformedURLException e) { // Log.d("stacje",e.toString()); // } // try { // HttpURLConnection conn = (HttpURLConnection) myFileUrl.openConnection(); // // conn.connect(); // // InputStream is = conn.getInputStream(); // bmImg = BitmapFactory.decodeStream(is); // is.close(); // // this.imView.setImageBitmap(bmImg); // this.imView.setScaleType(ImageView.ScaleType.FIT_CENTER); // } catch (IOException e ){ // Log.d("stacje",e.toString()); // } } }