sPFApp/src/main/java/it/polimi/spf/app/fragments/profile/ProfileFragment.java
public void beginCrop(Uri source) {
        Uri destination = Uri.fromFile(new File(this.getActivity().getCacheDir(), "cropped"));
        Crop.of(source, destination).asSquare().start(this.getActivity());
    }
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.

@param source