How to mute QML camera
-
Hi,
Isn't that a setting of your device ?
-
Well, that's the thing: OS level settings like that can usually not be modified by code.
You should check your target platform documentation for such use case.
-
Well, that's the thing: OS level settings like that can usually not be modified by code.
You should check your target platform documentation for such use case.
-
I don't know. You don't give any details that may help answer your question like:
- Target platform where that happens
- Qt version
- Code snippet that you use for that
- etc.
-
I don't know. You don't give any details that may help answer your question like:
- Target platform where that happens
- Qt version
- Code snippet that you use for that
- etc.
@SGaist
platform is Lenovo A319 android version 4.4.2
QT 5.8.0Timer
{
id: tim
interval: 2000; running: true; repeat: true
onTriggered:
{
if (camera.lockStatus === Camera.Locked)
{
camera.imageCapture.capture()
camera.unlock()
}
else
camera.searchAndLock()
}
} -
In your code you are taking photos at 2 seconds interval not 4. Are you sure your device can sustain that speed ? You also have to take into account that each image is saved on your device.
-
In your code you are taking photos at 2 seconds interval not 4. Are you sure your device can sustain that speed ? You also have to take into account that each image is saved on your device.
-
Good point, I've somehow missed the unlock call.
Did you check the state of your phone storage ?
-
Good point, I've somehow missed the unlock call.
Did you check the state of your phone storage ?
-
Did you check the time that it takes to do that ?