Android-Image-Cropper icon indicating copy to clipboard operation
Android-Image-Cropper copied to clipboard

crop image Activity not open

Open Rahul7f opened this issue 4 years ago • 1 comments

`protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode==galerypic && requestCode==RESULT_OK && data!=null){ Uri imageuri = data.getData();

        CropImage.activity()
                .setGuidelines(CropImageView.Guidelines.ON)
                .setAspectRatio(1,1)
                .start(this);
    }
    if (requestCode == CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE) {
        CropImage.ActivityResult result = CropImage.getActivityResult(data);

    }
}

} `

Rahul7f avatar Jan 19 '20 05:01 Rahul7f

Hey!

I start a new project to handover this library https://github.com/CanHub/Android-Image-Cropper

The ideia is that we keep improving because this project don’t have updates since 2018 Hope I can count with your help.

Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract

Canato avatar Nov 27 '20 16:11 Canato