View Single Post
Posts: 101 | Thanked: 50 times | Joined on Nov 2010 @ Liverpool, England
#95
Originally Posted by nicolai View Post
I run it from command line.
It isn't ready yet to replace the stock camera-ui. Please don't
use dsmetool. But I must admit, I don't had any reboots
when I used dsmetool.
First, be sure the stock camera-ui does not run.
dsmetool -k /usr/bin/camera-ui
then you can start my app with
dsmetool -t <where ever you put it>

Btw the stock camera-ui in /usr/bin/camera-ui isn't the real
application, but a link to /usr/bin/maemo-invoker.
When you start /usr/bin/camera-ui maemo-invoker
is started and starts (depending on the name of the link)
an application (/usr/bin/camera-ui.launch).
camer-ui.launch is the real camera-ui "application". It isn't really
an application but a shared library with a "main" function.
maemo-launcher now loads the shared library and calls this
main function.
This is how the maemo application framework tries to reduce
the start up time of the stock applications (modest, mediaplayer ...)

regards
Nicolai
thanks Nicolai i was using the dsmetool -k /usr/bin/camera-ui cmd in root and the dsmetool -t /usr/bin/camera-ui2 (where i unpacked your file) but this was causing a reboot. so i did as handaxe said and ran your file in user not root and it works.
i've got to say what i have seen it looks good works quite well.
i have found auto video mode is a litlle eratic in lower light levels the colour style short cut works well while recording.