title: Issue in capture image using camera in lollipop
body: <p>I have been searching for the following issue for three days</p>
  
  <p>My Code is as following</p>
  
  <pre><code>private void openCamera () {    
      try {
          Intent captureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
          String fileName = Constants.IMAGE_CAPTURE_FILE_NAME_PREFIX + System.currentTimeMillis() + Constants.IMAGE_FILE_EXT_JPG;
          mImageFile = new File(FileManager.getInstance().getFileFullName(Constants.IMAGE_FOLDER, fileName));
          captureIntent.putExtra(MediaStore.EXTRA_OUTPUT, mImageFile);
          startActivityForResult(captureIntent, Constants.ACTIVITY_CAMERA_REQUEST_CODE);     
      } catch(ActivityNotFoundException anfe) {   
          String errorMessage = "Whoops - your device doesn't support capturing images!";
          Toast toast = Toast.makeText(ImagesSelectorActivity.this, errorMessage, Toast.LENGTH_SHORT);
          toast.show();
      }
  }
  
  
  
  public String getFileFullName(String folderName, String fileName) {
      String filepath;
      if (PhoneUtils.isSDCardFound() == true)
          filepath = Environment.getExternalStorageDirectory().getPath();
      else
          filepath = Environment.getDataDirectory().getPath();
  
      File file = new File(filepath, folderName);
  
      if (!file.exists()) {
          file.mkdirs();
      }
  
      return (file.getAbsolutePath() + "/" + fileName);
  }
  </code></pre>
  
  <p>On Activity results</p>
  
  <pre><code>if(requestCode == Constants.ACTIVITY_CAMERA_REQUEST_CODE) {
  
      Uri picUri = data.getData();
  
      if (picUri == null) {
          Bitmap bitmap = (Bitmap) data.getExtras().get("data");
          Uri tempUri = PhoneUtils.getBitmapUri(getApplicationContext(), bitmap);
          Log.i("AMIRA", tempUri.toString());
  
      }
  
      performPreview(picUri);
  }
  </code></pre>
  
  <p>The problem that the image is not saved in my folder, and the url that return is the thumbnail uri</p>
  
  <p>I need to save the image after capture in the path that I need and to be able to read the full size of image.</p>
  
  <p>I can't find the image captured from camera in any place in the device.</p>