Zeeshan Ali wrote:
 Fortunately, there are two very useful self-explainatory boolean
gconf keys for these things:

1. /system/osso/af/camera-is-out
2. /system/osso/af/camera-has-turned

 BTW, since it's gconf, you can set-up notification callback in your
applications for these events to, in case you need that. Hope this
helps!

P.S There is a D-Bus way to do the same thing as well but i think
gconf is much simpler to deal with as compared to D-Bus.

Thanks for the infos!

What would be needed to launch an application other than messenger when a camera-is-out event takes place? On garage project malomo [1] we've thought of making a control panel applet to choose between launching messenger or camera application.

[1] https://garage.maemo.org/projects/malomo


Janne
--
Janne Kataja, Movial Corporation
Porkkalankatu 13 J, FI-00180 Helsinki
Mobile +358 40 550 9801, Tel +358 9 8567 6400
Fax +358 9 8567 6401
www.movial.fi
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to