[maemo-developers] How to block the camera app from starting on lens cover open
From: Eero Tamminen eero.tamminen at nokia.comDate: Fri Jul 30 11:47:34 EEST 2010
- Previous message: How to block the camera app from starting on lens cover open
- Next message: How to block the camera app from starting on lens cover open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, ext Martin Storsjö wrote: > 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. And what happens in the application crashes without restoring camera-ui, user needs to reboot to get camera working again? - Eero (better may be a small wrapper / watchdog for the process that does the camera-ui removal before launching the program and restores it after the program terminates?)
- Previous message: How to block the camera app from starting on lens cover open
- Next message: How to block the camera app from starting on lens cover open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]