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

From: Martin Storsjö martin at martin.st
Date: Sat Jul 24 13:29:34 EEST 2010
On Sat, 24 Jul 2010, Yves-Alexis Perez wrote:

> On ven., 2010-07-23 at 19:20 +0300, Martin Storsjö wrote:
> > Any hints on how to solve this in the best way? I don't want my app to 
> > fail in the next QA round with the reason "camera app is launched and 
> > closes immediately if the lens cover is opened while your app is running". 
> 
> Did you check how fcamera is doing it?

Thanks for the pointer!

It seems that the FCam library kills camera-ui using dsmetool - which 
totally makes sense for an application that tries to grab the camera 
button for itself, too.

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