maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Commercial] Rockwatch - Pebble smart watch support for the N9 (https://talk.maemo.org/showthread.php?t=89890)

Schturman 2013-12-19 08:19

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
Show output of
Code:

qdbus com.mikeasoft.rockwatch / rotskschach
or
Code:

qdbus com.mikeasoft.rockwatch /rotskschach
Sorry I don't have it installed :)

Alexxxl 2013-12-19 11:53

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
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 2013-12-19 12:53

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
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 :)

Alexxxl 2013-12-19 13:28

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
It's much easier than it seemed)) I was looking for a more complex syntax))

thank you!

Alexxxl 2013-12-19 13:42

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
in the near future I will add a functional script several functions, deal with startup and try to collect Deb package

Alexxxl 2013-12-22 01:35

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
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.

Alexxxl 2013-12-22 01:56

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
please tell me which command you get information about the incoming call?

Elleo 2013-12-22 03:42

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
Excellent, I should be able to add support for that quite easily, will look into it tomorrow.

Schturman 2013-12-22 05:40

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
To show name:
Code:

qdbus com.nokia.CallUi.Context /com/nokia/CallUi/ActiveCall org.maemo.contextkit.Property.Get|grep displayName|cut -d ' ' -f2

Alexxxl 2013-12-22 07:17

Re: [Commercial] Rockwatch - Pebble smart watch support for the N9
 
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!


All times are GMT. The time now is 09:47.

vBulletin® Version 3.8.8