private void startActivityForResult(Activity activity, Fragment fragment, final Intent intent, final int reqCodeCamera) throws ActivityNotFoundException {
        if (fragment == null) {
            activity.startActivityForResult(intent, reqCodeCamera);
        } else {
            fragment.startActivityForResult(intent, reqCodeCamera);
        }
    }
start system camera to take a picture

@param activity      not null if fragment is null.
@param fragment      not null if activity is null.
@param subFolderPath a folder in external DCIM,must start with "/".
boxing/src/main/java/com/bilibili/boxing/utils/CameraPickerHelper.java