[maemo-developers] Intercept camera slider open event to default camera app? (N900)

From: Andres Gomez Garcia agomez at igalia.com
Date: Thu Dec 17 03:12:56 EET 2009
On Mon, 2009-12-14 at 23:32 +0100, Thomas Waelti wrote:
> Can anybody tell how an app can intercept the camera slider opening
> event, so that it does NOT call the default camera app?
...

Sadly, currently the only way to stop the default camera app for getting
such events would be to actually stop the camera app as I think it gets
the lens cover status from HAL (and I suppose you will not stop the HAL
service for that ;) ).

The easiest way right now would be to run the command (as root, I
suppose):
$ dsmetool -k /usr/bin/camera-ui

Once you are done, you can start the camera app again with:
$ dsmetool -t /usr/bin/camera-ui

I hope this helps.

Br. 
-- 
Andrés Gómez García
Computer Science Engineer
Telf:  +34 981 91 39 91
Fax:   +34 981 91 39 49
mailto:agomez at igalia.com
http://people.igalia.com/agomez
IGALIA, S.L. http://www.igalia.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20091217/55c4aea6/attachment.pgp 
More information about the maemo-developers mailing list