[maemo-developers] How to block the camera app from starting on lens cover open

From: Martin Storsjö martin at martin.st
Date: Fri Jul 23 19:53:01 EEST 2010
Hi Faheem,

On Fri, 23 Jul 2010, Faheem Pervez wrote:

> http://maemo.org/community/maemo-developers/intercept_camera_slider_open_event_to_default_camera_app--n900/
> suggests to do what BlessN900 currently does.

Thanks for this link - doing "dsmetool -k /usr/bin/camera-ui" actually 
seems to work, even as non-root. However, for the Ovi Store QA process, I 
don't think this is acceptable. I already got one failure issue regarding 
that my application keeps the camera object reserved if the user presses 
the camera button, which launches the camera app. While the camera-ui 
process is disabled this way, neither camera lens cover open nor the 
camera button starts the camera application.

I guess I'll have to discuss it with Ovi Publisher Support then, if this 
is acceptable (disabling both the lens cover open action and the camera 
button), or if it is better to spuriously launch the camera app when the 
lens cover is opened.

It really is a pity that the guidelines of what is acceptable and what 
isn't aren't available (as far as I've seen).

// Martin
More information about the maemo-developers mailing list