Reply
Thread Tools
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#1
I'm having problems launching my application (cuteTube) using DBus in MeeGo-Harmattan. The application launches, but the arguments of the method call are not received. If I use the same method call when the application is already running, it works as expected. I'm using qdbus to test e.g.

Code:
qdbus com.marxian.cuteTube / com.marxian.cuteTube.play <video_url>
Here's my interface XML file:

Code:
<node>
    <interface name="com.marxian.cuteTube">
    <method name="play">
        <arg name="url" type="as" direction="in" />
    </method>
    <method name="display">
        <arg name="url" type="as" direction="in" />
    </method>
</node>
Here's my service file:

Code:
[D-BUS Service]
Name=com.marxian.cuteTube
Interface=com.marxian.cuteTube
Exec=/usr/bin/single-instance /opt/cutetube/bin/cutetube
Looking at some of the other service files in /usr/share/dbus-1/services, I see that some have a fixed argument in the Exec value, but other than that I cannot see any difference.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 
Reply

Tags
harmattan, qdbus


 
Forum Jump


All times are GMT. The time now is 16:24.