Active Topics

 


Reply
Thread Tools
Posts: 58 | Thanked: 10 times | Joined on Dec 2009
#1
Hi,
how can I launch the default camera app from xterm?

I'd like to disable launch on lens opened event, with:
dsmetool -k /usr/bin/camera-ui

And I'd like to start the camera app manually on button click.
How can I call it from the terminal?

I tried with camera-ui.launch
But it prints "Segmentation fault" error

Last edited by zolakt; 2010-05-03 at 10:37.
 
Posts: 58 | Thanked: 10 times | Joined on Dec 2009
#2
I guess it should start with camera-ui command
But it does nothing. Runs in xterm, but no output to screen
 
pH5's Avatar
Posts: 138 | Thanked: 375 times | Joined on Aug 2009 @ Berlin
#3
Originally Posted by zolakt View Post
And I'd like to start the camera app manually on button click.
How can I call it from the terminal?
When you click on the camera icon in the menu, the top_application method is called on the com.nokia.cameraui D-Bus service, like this:
Code:
dbus-send --session --print-reply --dest=com.nokia.cameraui /com/nokia/cameraui com.nokia.cameraui.top_application
I think you'll probably have to kill /usr/bin/camera-ui again afterwards.
 

The Following User Says Thank You to pH5 For This Useful Post:
Posts: 58 | Thanked: 10 times | Joined on Dec 2009
#4
Is there anyway to detect exiting from the camera app?

I have a listener in the background which checks for new taken pictures. If user exits the camera app without taking the picture the listener will run indefinitely, so I need to detect exiting from the camera app
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:05.