title: Fragment to Fragment startAcivityForResult is not working
body: <p>First, Sorry about my English writing</p>
  
  <p>i want Intent Camera picture, get result fragment</p>
  
  <p>fragment(A) -> intent(Camera) -> fragment(A)</p>
  
  <p>startActivityForResult not working ... what can i do</p>
  
  <p>this code</p>
  
  <pre><code> public void doTakePhotoAction() {
  
      Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
  
      // tempdirectory
      String url = "tmp_" + String.valueOf(System.currentTimeMillis()) + ".jpg";
      mImageCaptureUri = Uri.fromFile(new File(Environment.getExternalStorageDirectory(), url));
  
      Log.e("mImageCaptureUri", mImageCaptureUri.toString());
  
      intent.putExtra(MediaStore.EXTRA_OUTPUT, mImageCaptureUri);
      this.startActivityForResult(intent, PICK_FROM_CAMERA);
      Log.d("ididid", getParentFragment().getId() + "");
      Log.d("ididid", getParentFragment().getTag()+"");
      Log.d("ididid", getActivity()+"");
  }
  
  @Override
  public void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
      Log.d("onActivityResult","onActivityResult");
      if (resultCode != RESULT_OK) {
          return;
      }
      switch (requestCode) {
          case PICK_FROM_CAMERA: {
              try {
                  String temp = mImageCaptureUri.toString();
                  temp.replace("file://", "");
                  Uri final_uri = Uri.parse(temp);
                  Log.e("final_uri", final_uri.toString());
              } catch (Exception e) {
                  e.printStackTrace();
              }
              break;
          }
      }
  }
  </code></pre>
  
  <p>Thank you.</p>