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 boolean DownloadFromUrl(String fileUrl, String fileName, String pathToSave) { try { URL url = new URL(fileUrl+fileName); File file = new File(pathToSave+fileName); long startTime = System.currentTimeMillis(); Log.d("Debug", "download url:" + url); Log.d("Debug", "downloaded file name:" + pathToSave+fileName); HttpURLConnection c = (HttpURLConnection) url.openConnection(); c.setRequestMethod("GET"); c.setDoOutput(true); c.connect(); FileOutputStream f = new FileOutputStream(file); InputStream in = c.getInputStream(); byte[] buffer = new byte[1024]; int len1 = 0; while ( (len1 = in.read(buffer)) > 0 ) { f.write(buffer, 0, len1); } f.close(); in.close(); Log.d("Debug", "download ready in" + ((System.currentTimeMillis() - startTime) / 1000) + " sec"); Log.d("Debug", " "); } catch (FileNotFoundException fnfe) { Log.e("Debug", "File Not Found: " + fnfe); return false; } catch (IOException e) {Log.e("Debug", "Error: " + e);} return true; }