[SailfishDevel] Camera flash control. Wired to Qt level or not?
Mohammed Hassan
mohammed.hassan at jollamobile.com
Sat Nov 16 14:17:21 UTC 2013
Hi Artem,
On Sat, Nov 16, 2013 at 02:48:30PM +0200, Artem Marchenko wrote:
> Hi All
> *Context*
> 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.
> *The problem*
> 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).
> Could somebody, please, advise how to control flash in Sailfish OS? Or
> maybe you could confirm that libhybris flash control just isn't wired
> to Qt level?
This is unfortunately not supported.
The only flash modes supported now are: on, off or auto.
Torch light mode is not yet supported but I assure you it will come in an update soon.
I am not that familiar with Qt but I know it's a limitation of the layer underneath Qt.
The best you can do now is to wait for the phone itself and tinker as you like and I am
sure you will manage to do it :-)
Cheers,
P.S. libhybris camera wrapper is not used by sailfish. It might or might not work.
More information about the Devel
mailing list