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)
private void testDownload(String urlStr) { URL url = null; try { url = new URL(urlStr); } catch (MalformedURLException e) { Log.e(TAG, "error1:"+e.toString()); } URLConnection conn = null; try { conn = url.openConnection(); } catch (IOException e) { Log.e(TAG, "error2:"+e.toString()); } try { conn.connect(); } catch (IOException e) { Log.e(TAG, "error2:"+e.toString()); } InputStream is = null; try { is = conn.getInputStream(); } catch (IOException e) { Log.e(TAG, "error3:"+e.toString()); } BufferedInputStream bis = new BufferedInputStream(is); Bitmap bm = BitmapFactory.decodeStream(bis); File f = new File("/sdcard/1.jpg"); FileOutputStream fos = null; try { fos = new FileOutputStream(f); // <--error here } catch (FileNotFoundException e) { Log.e(TAG, "error4:"+e.toString()); } bm.compress(Bitmap.CompressFormat.JPEG, 100, fos); try { bis.close(); } catch (IOException e) { Log.e(TAG, "error5:"+e.toString()); } try { is.close(); } catch (IOException e) { Log.e(TAG, "error6:"+e.toString()); } }