Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xesun opened this issue Jan 25, 2019 · 0 comments

Comments

@xesun
Copy link

xesun commented Jan 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant