<div dir="ltr">Hi All<div><br></div><div><b>*Context*</b></div><div>I am trying to build a flashlight app, but the same question is valid for any camera app that wants to shoot photos/videos in low light.</div><div><br></div>

<div><b>*The problem*</b></div><div>I am trying to control LED flash by setting flash mode to ON (api confirms that ON mode is supported) and starting camera. Nothing happens. I also tried actually capturing photo, shooting video and seekAndLocking. I don't have a device myself, but kind people on IRC told that only two short LED flashes happen (during seeking for focus probably).</div>

<div><br></div><div><b>Could somebody, please, advise how to control flash in Sailfish OS? </b>Or maybe you could confirm that libhybris flash control just isn't wired to Qt level?</div><div><br></div><div><b>*Test code and build to play with*</b></div>

<div>I have created a test app that just exposes all the Qt features to UI level. Play with it and try switching flash to ON and starting camera - <a href="https://github.com/amarchen/video-flash-trial/tree/ml-question-2013-nov-16">https://github.com/amarchen/video-flash-trial/tree/ml-question-2013-nov-16</a></div>

<div><br></div><div>Here's a direct link to the ARM package for installing it to phone (maybe you can find some magic combination of API calls on your live hardware) - <a href="https://github.com/amarchen/video-flash-trial/blob/ml-question-2013-nov-16/ready-arm-build/video-flash-trial-0.1-8.armv7hl.rpm">https://github.com/amarchen/video-flash-trial/blob/ml-question-2013-nov-16/ready-arm-build/video-flash-trial-0.1-8.armv7hl.rpm</a> and the same link shortened - <a href="http://bit.ly/vidflanov23">http://bit.ly/vidflanov23</a></div>

<div><br></div><div>Best regards,</div><div>Artem.</div><div><div><div><br></div>-- <br>Artem Marchenko<br><a href="http://agilesoftwaredevelopment.com" target="_blank">http://agilesoftwaredevelopment.com</a><br><a href="http://twitter.com/AgileArtem" target="_blank">http://twitter.com/AgileArtem</a>
</div></div></div>