problems with camera & gallery onActivityResult

view story

http://stackoverflow.com – I have a problem when I click the image button opens a dialogue asking me if I want to choose from the gallery or take a photo. When I select from the gallery all right image appears then I send it to the server. But when I select camera I can take pictures but the picture does not appear then I do not see what I send to the server if any. Here's the code: public class MainActivity extends Activity { private final String PHP_URL = "http://wapps.no-ip.org/testservice/service.php"; private EditText fldLocation, fldDescription; ImageView targetImage, btnLocation; Button btnSend; JSONParser jPar (HowTos)