![]() |
2010-02-08
, 14:01
|
|
Posts: 47 |
Thanked: 24 times |
Joined on Nov 2009
@ Bolton, United Kingdom
|
#31
|
![]() |
2010-02-09
, 12:29
|
Posts: 9 |
Thanked: 0 times |
Joined on Feb 2010
|
#33
|
![]() |
2010-02-09
, 12:31
|
Posts: 526 |
Thanked: 99 times |
Joined on Sep 2009
|
#34
|
![]() |
2010-02-09
, 13:12
|
Posts: 11 |
Thanked: 0 times |
Joined on Dec 2009
|
#35
|
![]() |
2010-02-09
, 16:10
|
Posts: 9 |
Thanked: 0 times |
Joined on Feb 2010
|
#37
|
#!/bin/bash a=`hcitool scan --class |\ awk '/BD Address/ {print substr($3,0,8)}' |\ grep '00:BD:3A\|00:BD:3B'`; echo $a; if [ "$a" ] then dbus-send --type=method_call \ --dest=org.freedesktop.Notifications \ /org/freedesktop/Notifications \ org.freedesktop.Notifications.SystemNoteDialog \ string:'Pizza! N900 here!' uint32:0 string:'OK' fi;
![]() |
2010-02-09
, 16:25
|
Posts: 526 |
Thanked: 99 times |
Joined on Sep 2009
|
#38
|
![]() |
2010-02-09
, 16:29
|
Posts: 9 |
Thanked: 0 times |
Joined on Feb 2010
|
#39
|
![]() |
2010-02-09
, 16:31
|
Posts: 9 |
Thanked: 0 times |
Joined on Feb 2010
|
#40
|
wow that seemed pretty straight forward.
I've never coded for Maemo beofre but jsut been reading up about MADDE:http://wiki.maemo.org/MADDE
So I guess I should try MADDE out and use/adapt your code to becoming an app ;-)
Thanks for the starting blocks :-)