I am using the following code to crop images from camera and gallery :
private void doCrop() { final ArrayList cropOptions = new ArrayL
please use library project for crop image form camera or gallery . perfect it will work.
https://github.com/biokys/cropimage