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

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zongbintu committed Oct 13, 2015
1 parent 039fd8d commit 49cfe9d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,24 @@
}


3.clean croped file
3.onActivityForResult

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode != RESULT_OK) {
return;
}
switch (requestCode) {
case CropHelper.REQUEST_CAMERA:
case CropHelper.REQUEST_GALLERY:
case CropHelper.REQUEST_CROP:
CropHelper.handleResult(this, requestCode, resultCode, data);
break;
}
}


4.clean croped file

CropHelper.clearCachedCropFile(uri);

0 comments on commit 49cfe9d

Please sign in to comment.