public void beginCrop ( Uri source ) { Uri destination = Uri . fromFile ( new File ( this . getActivity ( ) . getCacheDir ( ) , "cropped" ) ) ; Crop . of ( source , destination ) . asSquare ( ) . start ( this . getActivity ( ) ) ; }
Method to start the activity to crop an image .