bilibili / boxing

Android multi-media selector based on MVP mode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To access your camera to take pictures,enable the "Use Camera" permission in the "System Settings" or Authorization dialog box.

xesun opened this issue · comments

Always this error click to camera

BoxingConfig config = new BoxingConfig(BoxingConfig.Mode.SINGLE_IMG);
        config.needCamera(R.drawable.ic_photo_camera_indigo_400_36dp)
                .withMaxCount(1)
                .needGif()
                .withMediaPlaceHolderRes(R.drawable.icon_ub)
                .withAlbumPlaceHolderRes(R.drawable.icon_ub)
                .withVideoDurationRes(R.drawable.icon_ub);
        Boxing.of(config).withIntent(getActivity(), BoxingActivity.class).start(getActivity(), 23);

device-2019-01-25-125715

device-2019-01-25-125452