Thread
:
Situations app - bugs, questions, answers, help etc..
View Single Post
Halftux
2019-10-04 , 18:01
Posts: 878 | Thanked: 2,535 times | Joined on Feb 2012 @ Germany
#
439
@crun ok I could seperate the phone number with dbus service
org.ofono.MessageManager
. Listening on signal IncomingMessage (service: org.ofono, path: /ril_0, interface: org.ofono.MessageManager). There you get a variant map [string, variant]. The second key is "Sender" where its variant holds the number.
I attach a deb which I used for listening on ImmediateMessage, IncomingMessage and MessageAdded. But for me only IncomingMessage got triggerd. It has some debug messages and in the end it prints to stdout the number. You can quit with x+enter.
EDIT: lol wrong slot, IncomingMessage got triggerd not Immediate, fixed it.
Attached Files
smsreceive-0.0.2-1.armv7hl.rpm
(16.7 KB, 45 views)
__________________
N900:
gpxsee
,
fahrplan
,
gpscon
,
genwall
,
qrcode
,
hextool
,
libjansson4
,
libevent-2.0-5
,
cnee
,
psi-plus
,
mihphoto
,
shc
Maemo flasher/rescue live image.
Fremantle Harmattan SDK VM
Last edited by Halftux; 2019-10-04 at
18:43
. Reason: sorry IncomingMessage not Immediate
Quote & Reply
|
The Following User Says Thank You to Halftux For This Useful Post:
robthebold
Halftux
View Public Profile
Send a private message to Halftux
Visit Halftux's homepage!
Find all posts by Halftux