How to upload a picture to server after tkaing it from camera

take a look at this