Here is the scenario, simply I'm opening a photo from gallery or capturing a photo from camera Intent, then using converting the returned image to base64 & using standard code of HttpClient/HttpPost, trying to upload it to a RESTful web service. problem appears when during photo upload from my android application, device's Internet connection is lost and parts of the photo's Base64 is uploaded. so image appears like this on the server:
any idea guys?