Skip to content

camerakit #7

@jinman

Description

@jinman

I upgraded it from wonderklin package to new camerakit version and using AndroidX. but this code in BarCodeReaderActivity

    override fun onClick(v: View) {
        fabProgressCircle.show()
        cameraKitView.captureImage { cameraKitImage ->
            // Get the Bitmap from the captured shot
            getQRCodeDetails(cameraKitImage.bitmap)
            runOnUiThread {
                showPreview()
                imagePreview.setImageBitmap(cameraKitImage.bitmap)
            }
        }
    }

Is not compiling. Not sure what is wrong? Any suggestions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions