To make this work you need to add those settings in the declaration:
            captureMode: Camera.CaptureStillImage
            focus.focusMode: Camera.FocusAuto 
            focus.focusPointMode: Camera.FocusPointAuto

Also I removed this statement:
            cameraState: Camera.UnloadedState

So I think the Cordova integration can be fixed and made to work,
without waiting for the synchronous disconnect API. The camera-app does
work as well without that API fix either.


** Also affects: cordova-ubuntu
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1220626

Title:
  camera stops working after camera.start();camera.stop();camera.start()

To manage notifications about this bug go to:
https://bugs.launchpad.net/cordova-ubuntu/+bug/1220626/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to