Crop image in android

Can you use default android Crop functionality? Here is my code private void performCrop(Uri picUri) { try { Intent cropIntent = new Intent(“com.android.camera.action.CROP”); // indicate image type and Uri cropIntent.setDataAndType(picUri, “image/*”); // set crop properties here cropIntent.putExtra(“crop”, true); // indicate aspect of desired crop cropIntent.putExtra(“aspectX”, 1); cropIntent.putExtra(“aspectY”, 1); // indicate output X and Y cropIntent.putExtra(“outputX”, … Read more