title: how can i get image from user? api use: image cropper,circleimageview
body: <pre><code>@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(resultCode,requestCode,data);
  
      if (requestCode == 12 &amp;&amp; resultCode == RESULT_OK &amp;&amp; data!= null) ;
      {
          CropImage.activity()
                  .setCropShape(CropImageView.CropShape.OVAL)
  
                  .start(this);
  
      }
      if (requestCode == CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE) {
          CropImage.ActivityResult result = CropImage.getActivityResult(data);
          if (resultCode == RESULT_OK) {
            resultUri=result.getUri();
            circleImageView.setImageURI(resultUri);
  
  
          }
          else if (resultCode == CropImage.CROP_IMAGE_ACTIVITY_RESULT_ERROR_CODE)
          {
              Exception error = result.getError();
  
  
          }
      }
  
  
  }
  
  }
  </code></pre>