Re: [SailfishDevel] qml dbus send SMS

2015-03-19 Thread Michael Fuchs
Am 18.03.2015 um 13:07 schrieb Roland Whitehead: On Tue, 17 Mar 2015 at 20:20:06, Michael Fuchs wrote: This is exactly what the dbus call does. But your approach looks simpler, will try this one as well. I wrote a nasty shell script to send SMS so that I could do so from my desktop over ssh.

Re: [SailfishDevel] qml dbus send SMS

2015-03-18 Thread Roland Whitehead
On Tue, 17 Mar 2015 at 20:20:06, Michael Fuchs wrote: > This is exactly what the dbus call does. > But your approach looks simpler, will try this one as well. I wrote a nasty shell script to send SMS so that I could do so from my desktop over ssh. There might be some nuggets there that might help

Re: [SailfishDevel] qml dbus send SMS

2015-03-18 Thread Michael Fuchs
This is exactly what the dbus call does. But your approach looks simpler, will try this one as well. On Tuesday 17 March 2015 19:16:20 Jonni Rainisto wrote: > Just a reminder to people that harbour QA will most likely reject > applications that send sms messages through dbus without opening offic

Re: [SailfishDevel] qml dbus send SMS

2015-03-17 Thread Alfonso Martone
If you use a shell to execute dbus-send, you may need to quote the "quoted" message string. Here this works for me from command-line (note that this does not update the database of SMS messages and does not let you know if it was actually sent): dbus-send --system --print-reply --dest=org.ofono /r

Re: [SailfishDevel] qml dbus send SMS

2015-03-17 Thread Michael Fuchs
This is exactly what the dbus call does. But your approach looks simpler, will try this one as well. On Tuesday 17 March 2015 19:16:20 Jonni Rainisto wrote: > Just a reminder to people that harbour QA will most likely reject > applications that send sms messages through dbus without opening offic

Re: [SailfishDevel] qml dbus send SMS

2015-03-17 Thread Jonni Rainisto
Just a reminder to people that harbour QA will most likely reject applications that send sms messages through dbus without opening official sms application. As recomended way is to open sms application with sms: tag (mailto: for email) where user can press send button himself. Like Qt.openUrlEx

Re: [SailfishDevel] qml dbus send SMS

2015-03-17 Thread Michael Fuchs
On Wednesday 18 March 2015 00:05:55 Andrey Kozhevnikov wrote: > smsIf.typedCall("startSMS", [{"type":"as", "value":[""]}, {"type":"s", > "value":smsText.text}]) Thanks, that works. I was already close to this one, but didnt find out, how to define an array of strings.

Re: [SailfishDevel] qml dbus send SMS

2015-03-17 Thread Andrey Kozhevnikov
you need to use different method: smsIf.typedCall("startSMS", [{"type":"as", "value":[""]}, {"type":"s", "value":smsText.text}]) 17.03.2015 23:49, Michael Fuchs пишет: Hi there, this is my first post in this list, so hello to everyone. I want to write a small App, which helps writing SMS fo