Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

onActivityResult is null in VERSION.SDK_INT <= 19 #286

Open
iman2420 opened this issue Jun 14, 2018 · 0 comments
Open

onActivityResult is null in VERSION.SDK_INT <= 19 #286

iman2420 opened this issue Jun 14, 2018 · 0 comments

Comments

@iman2420
Copy link

Why this library not work on api 19 ?
in my case onActivityResult is null

`   @Override
public void onActivityResult(int requestCode, int resultCode, Intent result) {
    Log.w(TAG, "onActivityResult: " + result);
    if (requestCode == Crop.REQUEST_PICK && resultCode == RESULT_OK) {
        beginCrop(result.getData());
    } else if (requestCode == CAMERA_CAPTURE_IMAGE_REQUEST_CODE && resultCode == RESULT_OK) {
        Utilities.addMediaToGallery(currentPicturePath);
        beginCropFromCamera();
    } else if (requestCode == Crop.REQUEST_CROP) {
        handleCrop(resultCode, result);
    }
}`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant