I\'ve read many many posts about sending an image to the server from an Android app and Content-type-wise, they are divided in three categories:
a) they dont set the
Read the source of the file http. Check this solution:
Call new MultipartEntity:
MultipartEntity entity = new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE, null, Charset.forName("UTF-8"));
Add request header
heads.put("Content-Type", "image/png;charset=utf-8");