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)
String url = "MYURL"; HttpClient httpClient = new DefaultHttpClient(); try { httpClient.getParams().setParameter("http.socket.timeout", new Integer(90000)); // 90 second HttpPost post = new HttpPost(url); File SDCardRoot = Environment.getExternalStorageDirectory(); File file = new File(SDCardRoot,"/DCIM/100MSDCF/DSC00004.jpg"); FileEntity entity; entity = new FileEntity(file,"binary/octet-stream"); entity.setChunked(true); post.setEntity(entity); post.addHeader("Header", "UniqueName"); HttpResponse response = httpClient.execute(post); if (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) { Log.e("Here","--------Error--------Response Status line code:"+response.getStatusLine()); }else { // Here every thing is fine. } HttpEntity resEntity = response.getEntity(); if (resEntity == null) { Log.e("Here","---------Error No Response!!-----"); } } catch (Exception ex) { Log.e("Here","---------Error-----"+ex.getMessage()); ex.printStackTrace(); } finally { httpClient.getConnectionManager().shutdown(); }