How to Upload Image from gallery or Camera to server in android?
I am creating an android app. I need to implement a code for uploading Logo either from gallery or from by capturing from the camera.An alert will be shown on clicking the part where the picture to be uploaded. It consists of three options One to capture from the camera, One to take from the gallery, One to cancel.I can successfully image captured from camera but when I try to upload Image from gallery I got this error
E/MainActivity: Response from server: java.io.FileNotFoundException: