Skip to content

Please provide a a full example #5

@dineshmm23

Description

@dineshmm23

Give me error for new SimpleCameraActivity.Builder() is abtsract.

@OnClick(R.id.btn_camera)
    public void onBtnCameraClicked() {
        new SimpleCameraActivity.Builder() {
            @Override
            public Intent build(Context context) {
                return null;
            }

            @Override
            public void startForResult(Activity activity, int i) {

            }
        }
                .frontFacingCamera(false)
                .size(SimpleCameraFragment.Size.AVATAR)
                .startForResult(this, PICTURE_CODE);
    }

I tried to run the code without onActivityResult(int requestCode, int resultCode, Intent data) but wasn't able open camera.
I don't how to implement your library without an proper example .
Please help me here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions