Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
1.2.1
-
None
-
OS: Windows 7 64 bit
Qt: Qt Creator 2.4.0 (based on Qt 4.7.4 32bit) (Built on Dec 16th 2011 at 03:25.42)
Phone: Nokia N8
Description
Hi,
Been running round in circles trying to perform take a camera picture, let the camera fall into standby, take another picture, repeat...
I get the following happen:
1) Start camera and wait for active state
2) Lock focus
3) Get locked focus
4) Capture image
5) Stop camera
6) Wait a while, camera goes into status standby (power saving mode)
7) Start camera
8) Lock focus
9) Get locked focus
10) Capture image
11) Get camera error
Here is some logging to show exactly what the status of the elements are:
[Qt Message] Starting camera
[Qt Message] Camera status changed: LoadingStatus
[Qt Message] Camera status changed: LoadedStatus
[Qt Message] Camera status changed: StartingStatus
[Qt Message] Camera status changed: ActiveStatus
[Qt Message] Locking focus
[Qt Message] Camera LOCK changed: status: Searching, reason UserRequest
[Qt Message] Camera LOCK changed: status: Locked, reason LockAcquired
[Qt Message] Taking picture
[Qt Message] Camera LOCK changed: status: Unlocked, reason UserRequest
[Qt Message] Image Saved:
[Qt Message] "c:\Data\Images\test.jpg"
[Qt Message] Shutting down camera
[Qt Message] Camera status changed: StartingStatus
[Qt Message] Camera status changed: LoadedStatus
[Qt Message] Camera status changed: StandbyStatus
[Qt Message] Starting camera
[Qt Message] Camera status changed: LoadedStatus
[Qt Message] Camera status changed: StartingStatus
[Qt Message] Camera status changed: ActiveStatus
[Qt Message] Locking focus
[Qt Message] Camera LOCK changed: status: Searching, reason UserRequest
[Qt Message] Camera LOCK changed: status: Locked, reason LockAcquired
[Qt Message] Taking picture
[Qt Message] Camera LOCK changed: status: Unlocked, reason UserRequest
[Qt Message] Camera error: "General camera error."
[Qt Message] Camera error: CameraError
This is from a very simple app I put together(I am including the source), but I get the same thing if I modify the qCamera example app to perform a similar task.