|
2013-12-11
, 19:09
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Mar 2013
@ Russia Saratov
|
#112
|
The Following User Says Thank You to Alexxxl For This Useful Post: | ||
|
2013-12-16
, 10:15
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Mar 2013
@ Russia Saratov
|
#113
|
The Following User Says Thank You to Alexxxl For This Useful Post: | ||
|
2013-12-16
, 15:46
|
|
Posts: 266 |
Thanked: 979 times |
Joined on Jan 2010
@ London
|
#114
|
Found several applications that report on watch...
-qneptunea (tw clien)
-recket (tw client)
-fotoshare (upload-demon) (in the case of notification of the statusbar)
I realized that all broadcasts Rockwatch appears in the status bar phone
I think you can write a separate application - a demon that could prompt the phone some data (eg battery level, calendar events) and send notification in status in turn picks Rockwatch this notice and be sent to the clock ...
|
2013-12-17
, 12:06
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Mar 2013
@ Russia Saratov
|
#115
|
dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotificatio n uint32:0 uint32:0 string:'device' string:'' string:'My message' string:'' string:'icon-m-toolbar-done' uint32:0
|
2013-12-17
, 17:48
|
|
Posts: 266 |
Thanked: 979 times |
Joined on Jan 2010
@ London
|
#116
|
unfortunately I was not a programmer, I can only do what that small things in this regard ...
Could you tell the exact format of the command for "dbus" in the beam ... ?
all that I still found this:
but it's not, it only shows the banner, and naturally sends nothing to watch ...
thank you!
dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:0 uint32:0 string:"Test" string:"This is a public service announcement this is only a test" string:"Test" string:"action" string:"/opt/rockwatch/icon.png" uint32:0
qdbus com.mikeasoft.rockwatch /rockwatch
|
2013-12-17
, 18:26
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Mar 2013
@ Russia Saratov
|
#117
|
|
2013-12-17
, 21:13
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Mar 2013
@ Russia Saratov
|
#118
|
Вот быстрый пример:
Вы также можете взглянуть на Rockwatch конкретных dbus функций, выполнив:Code:dbus-отправить --print-ответ --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addnotification uint32:0 uint32:0 строка:"Test" строку:"Это public service announcement это только test" строку:"Test" строку:"акция" строки:"/opt/rockwatch/icon.png" uint32:0
Что буду их все перечислять, их имена должны быть достаточно понятны, когда я немного больше времени я буду писать до некоторой документации для dbus сторону вещей.Code:qdbus com.mikeasoft.rockwatch /rockwatch
|
2013-12-18
, 20:59
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Mar 2013
@ Russia Saratov
|
#119
|
#!/bin/bash status=$(hal-get-property --udi /org/freedesktop/Hal/devices/bme --key maemo.charger.connection_status) echo $status > /home/user/MyDocs/status.log source /tmp/session_bus_address.user while true do status=$(hal-get-property --udi /org/freedesktop/Hal/devices/bme --key maemo.charger.connection_status) log=$(cat /home/user/MyDocs/status.log) if [[ "$status" == "$log" ]]; then : else if [[ "$status" == "connected" ]]; then dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:0 uint32:0 string:"Test" string:"Charge connected" string:"N9" string:"action" string:"/opt/rockwatch/icon.png" uint32:0 echo $status > /home/user/MyDocs/status.log else dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:0 uint32:0 string:"Test" string:"Charge disconnected" string:"N9" string:"action" string:"/opt/rockwatch/icon.png" uint32:0 echo $status > /home/user/MyDocs/status.log fi fi sleep 1 done
The Following User Says Thank You to Alexxxl For This Useful Post: | ||
|
2013-12-19
, 07:27
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Mar 2013
@ Russia Saratov
|
#120
|
Tags |
nokia n9, smart watch |
|
Couple of remarks on the use for now:
- I still have one hour delay between phone and watch when i press "set watch time from phone"
- I have installed 'fair forecast' but it seems to not locate me accurately as I seem to be in a warm country while in Paris during winter (reports more than 20 celsius degree) . http://openweathermap.org/ seems to be fine though, so probably something wrong between the two?
Indeed the location seems to be 'Earth' which is probably too vague
- I tried m.setpebble.com in the phone but does not seem to work (probably not related to the app?) while the main website is working fine.