O
O
Oleg Gamega2014-12-02 16:36:12
Android
Oleg Gamega, 2014-12-02 16:36:12

How to catch E/Camera﹕ Error 100 ?

Hello, actually the question itself ─ when working with the camera I get E / Camera﹕ Error 100 try / catch do not catch anything intelligible

if (mCamera == null) {
                    mCamera = Camera.open(0);
                }
                mCamera.autoFocus(new Camera.AutoFocusCallback() {
                    @Override
                    public void onAutoFocus(boolean success, Camera camera) {

                        camera.takePicture(null, null, null, PhotoReportActivity.this);

                    }
                });
            }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2014-12-11
@mbelskiy

What are you specifying in catch? Throwable?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question