I have PHP code that receives an image from POST:
$_FILES['file']['name'] and $_FILES['file']['tmp_name'].
On Android, I need to get the image that is shown in an ImageView and send that to the PHP script on the server. For iOS I created code to do it using POST request and multipart/form-data. But on Android I did not find a way to do this.