Active Topics

 


Reply
Thread Tools
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#121
Show output of
Code:
qdbus com.mikeasoft.rockwatch / rotskschach
or
Code:
qdbus com.mikeasoft.rockwatch /rotskschach
Sorry I don't have it installed

Last edited by Schturman; 2013-12-19 at 08:23.
 

The Following User Says Thank You to Schturman For This Useful Post:
Alexxxl's Avatar
Posts: 152 | Thanked: 91 times | Joined on Mar 2013 @ Russia Saratov
#122
Code:
# qdbus com.mikeasoft.rockwatch /rockwatch
method QString org.freedesktop.DBus.Introspectable.Introspect()
method void com.mikeasoft.rockwatch.deleteApp(QDBusVariant appId, QDBusVariant appIndex)
method void com.mikeasoft.rockwatch.installApp(QDBusVariant appUri)
method void com.mikeasoft.rockwatch.listApps()
method void com.mikeasoft.rockwatch.nowPlaying(QDBusVariant artist, QDBusVariant album, QDBusVariant title)
method void com.mikeasoft.rockwatch.ping()
method void com.mikeasoft.rockwatch.setTime()
method void com.mikeasoft.rockwatch.showEmail(QDBusVariant sender, QDBusVariant subject, QDBusVariant body)
method void com.mikeasoft.rockwatch.showSMS(QDBusVariant sender, QDBusVariant message)
~ #
 
Elleo's Avatar
Posts: 266 | Thanked: 979 times | Joined on Jan 2010 @ London
#123
You can either use the showSMS or showEmail function depending on how you want things to be displayed, e.g.

Code:
qdbus com.mikeasoft.rockwatch /rockwatch showSMS "Mike" "Hello!"
or

Code:
qdbus com.mikeasoft.rockwatch /rockwatch showEmail "Mike" "Hello" "This is a longer message..."
Hope that helps
 

The Following 3 Users Say Thank You to Elleo For This Useful Post:
Alexxxl's Avatar
Posts: 152 | Thanked: 91 times | Joined on Mar 2013 @ Russia Saratov
#124
It's much easier than it seemed)) I was looking for a more complex syntax))

thank you!
 
Alexxxl's Avatar
Posts: 152 | Thanked: 91 times | Joined on Mar 2013 @ Russia Saratov
#125
in the near future I will add a functional script several functions, deal with startup and try to collect Deb package
 
Alexxxl's Avatar
Posts: 152 | Thanked: 91 times | Joined on Mar 2013 @ Russia Saratov
#126
Elleo

gooooog news!!! )))

I dug a lot of useful scripts "dbus" collecting notice soon actually show what happened, but in the process of searching, I found something very useful!

this response from "dbus" standby:
Code:
~ # qdbus com.nokia.CallUi.Context /com/nokia/CallUi/ActiveCall org.maemo.contex
tkit.Property.Get
status: false
178495695383825

and that it is the answer to the movment of the incoming call, as you can see ........- we see the name (or number) of the user! )) So it can easily be broadcast on the watch:
Code:
~ # qdbus com.nokia.CallUi.Context /com/nokia/CallUi/ActiveCall org.maemo.contex
tkit.Property.Get
displayName: Мини
muted: false
startTime: 0
state: 0
status: true
191585815317901


you can use this functionality to display the name of the watch?

or

so I can create a simple script that in case of an incoming call will pass the name, and we can do so it will be more than one message and several consecutive, so get something similar to a permanent notice.

Last edited by Alexxxl; 2013-12-22 at 01:37.
 

The Following User Says Thank You to Alexxxl For This Useful Post:
Alexxxl's Avatar
Posts: 152 | Thanked: 91 times | Joined on Mar 2013 @ Russia Saratov
#127
please tell me which command you get information about the incoming call?
 
Elleo's Avatar
Posts: 266 | Thanked: 979 times | Joined on Jan 2010 @ London
#128
Excellent, I should be able to add support for that quite easily, will look into it tomorrow.
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#129
To show name:
Code:
qdbus com.nokia.CallUi.Context /com/nokia/CallUi/ActiveCall org.maemo.contextkit.Property.Get|grep displayName|cut -d ' ' -f2
 
Alexxxl's Avatar
Posts: 152 | Thanked: 91 times | Joined on Mar 2013 @ Russia Saratov
#130
test it, it seems to me after the call the result of execution of the command - remains the same (at least for me) may need to use additional commands that would make sure that at the moment a call is made. Command behaved similarly and for outgoing calls!
 
Reply

Tags
nokia n9, smart watch


 
Forum Jump


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