I try to capture a picture from the camera element in Symbian Belle:
The preview is shown but when "camera.captureImage()" is called I get this error on the Nokia 701:
import QtQuick 1.1
import Qt 4.7
import com.nokia.symbian 1.1
import QtMultimediaKit 1.1
console.log("Saved to " + path);
On the N8 capturing stalls the app.
[Qt Message] Camera state changed: QCamera::UnloadedState
[Qt Message] Camera state changed: QCamera::ActiveState
Thread has crashed: Thread 0x6b1 has panicked. Category: KERN-EXEC; Reason: 0
Thread has crashed: Thread 0x6b2 has panicked. Category: KERN-EXEC; Reason: 0
Thread has crashed: Thread 0x6b4 has panicked. Category: KERN-EXEC; Reason: 0
Process has finished.
How can I capture a picture?