Based on the recommendations of a previous post I\'m trying to use Android: Uploading image on server with php however I get a file not found exception.
Here\'s my f
You are trying to get an InputStream from a Uri ? This might be easier :
private void doFileUpload(Uri fileUri){
// some code
InputStream inputStream = getContentResolver().openInputStream(fileUri);
// more code
dos.writeBytes("Content-Disposition: form-data; name=\"uploadedfile\";filename=\"" + "some_file_name" +"\"" + lineEnd);
// the rest of the code
}