Notices


Reply
Thread Tools
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#11
cssu camera-ui has options "show/hide on lenscover open/close", I am too lazy to dig on gitorious, but those should be gconf settings. Unfortunately afaik stock camera-ui does not support these.
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 6 Users Say Thank You to freemangordon For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#12
Originally Posted by freemangordon View Post
cssu camera-ui has options "show/hide on lenscover open/close", I am too lazy to dig on gitorious, but those should be gconf settings. Unfortunately afaik stock camera-ui does not support these.
Yes! I saw this last year; camera-lens-launcher is using this setting to keep the camera app from automatically launching (and yeah, it only works with CSSU, not stock).

I was kinda wondering about that, though; is it really a good idea for one app to be digging around inside and modifying another app's gconf settings?
 

The Following 6 Users Say Thank You to Copernicus For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#13
Originally Posted by Copernicus View Post
I was kinda wondering about that, though; is it really a good idea for one app to be digging around inside and modifying another app's gconf settings?
As long as it does it on behalf of its users.. why not?
 

The Following User Says Thank You to reinob For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#14
Copernicus: you can restore the value when your application quits
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 3 Users Say Thank You to freemangordon For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#15
Originally Posted by Copernicus View Post
... camera-lens-launcher is using this setting to keep the camera app from automatically launching (and yeah, it only works with CSSU, not stock).
Either I did not get it right, or I am confused?
On stock Pr1.3 with stock camera cl-launcher does work fine and hinders camera to automatically start.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#16
If one is not using R&D mode and watchdogs disabled, repeated killing of camera-ui with the "dsmetool -k" method results in device reboot (funf act - I've used it few times, when got locked out of screen/keyboard focus while using buggy full-screen program, and ssh'ing to kill the offender wasn't available). So, better method would be nice to have.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 3 Users Say Thank You to Estel For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#17
Originally Posted by freemangordon View Post
Copernicus: you can restore the value when your application quits
Yes, that's what the cl-launcher does. I'm just not really comfortable with the idea of mucking around in the guts of someone else's app in order to make it play nice with others. There really should be a better way!

But yeah, I'm probably going to copy that method in my app.
 

The Following 4 Users Say Thank You to Copernicus For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#18
Originally Posted by peterleinchen View Post
Either I did not get it right, or I am confused?
On stock Pr1.3 with stock camera cl-launcher does work fine and hinders camera to automatically start.
On CSSU, cl-launcher changes the flag in the camera app's gconf parameters to stop it from launching when the lens cover is opened. On stock PR1.3 and below, it simply kills the camera app outright. So, it works in either case, but is a bit more vicious on non-CSSU devices.
 

The Following 5 Users Say Thank You to Copernicus For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:02.