![]() |
Re: Situations app - bugs, questions, answers, help etc..
After reading these new developments, I decided to install Sonar and the new Situations. Great that this wonderful app becomes useful again!
I'm happy with it in daily use, and yet there are some observations: 1. Not all the What are eligible at all times. For setting the Location settings, I have to start with a proper example. 2. When - it won't register cell towers. 3. It seems my phone (XA2) has become more unstable than before. I'll try to register specific issues. Many thanks anyway, hhaveri! |
Re: Situations app - bugs, questions, answers, help etc..
Thanks, not sure if I understood the 1st point, though. If I remember correctly, 2nd one was due to something being different in the platform implementation for XA2. No idea what could cause no.3.
Anyway, I'll try to have a look at all reported issues. Lately I've had some difficulties to find time to "finalize" the sonar stuff - mostly on situations side. Hopefully within a couple weeks... Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
I am looking to send SMS automatically (without manual intervention) from FindMyJolla and GPSInfo.
I am expecting that I will hit a permissions problem**, and your daemon might be the answer. Should I be making my own functional daemon to do my task for each app, or would it be better to use yours? If "use situations daemon", then would you think it best to add the functionality to your daemon or would it just give me a privileged commandline to send any command to? Any suggestions on how to do the send welcome. To be specific, 1) it must send when phone is unattended. 2) it does not need to do it invisibly or in secret. ** Yup indeed I do get access denied as they say at the bottom of this sending-an-sms-via-the-command-line Code:
[nemo@Sailfish ~]$ dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:"+123456789" string:"test sms" |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
|
Re: Situations app - bugs, questions, answers, help etc..
Thanks, I'll try it on the next go round.
Current problem: I don't get the phone number of incoming sms.... |
Re: Situations app - bugs, questions, answers, help etc..
Quote:
On the same dbus service there is a IncomingMessage signal and a GetMessages method. But don't know if there can deliver the number. Maybe it is also worth to look here: https://sailfishos.org/wiki/Telephony https://sailfishos.org/wiki/Messaging telepathy-ring telepathy-qt libqofono |
Re: Situations app - bugs, questions, answers, help etc..
It uses this DBUS channel.
Code:
#define DBUS_INTERFACE "org.freedesktop.Telepathy.Channel.Interface.Messages" https://together.jolla.com/question/...pathy-message/ sender-identity is IMSI not MSISDN (phone number) |
Re: Situations app - bugs, questions, answers, help etc..
1 Attachment(s)
@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. |
Re: Situations app - bugs, questions, answers, help etc..
@crun I uploaded a code example
https://github.com/halftux/smsrun/bl...src/smsrun.cpp |
All times are GMT. The time now is 12:16. |
vBulletin® Version 3.8.8