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

[SailfishDevel] qml dbus send SMS

2015-03-18 Thread 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 for booking a parking ticket in Vienna/Austria and later other cities as well. As i read the recommended way for sending messages from qml is using dbus. I found this comman

Re: [SailfishDevel] qml dbus send SMS

2015-03-18 Thread Michael Fuchs
openrepos then > you can ignore that. > > re, Jonni > > From: devel-boun...@lists.sailfishos.org > [devel-boun...@lists.sailfishos.org] on behalf of Michael Fuchs > [mic...@gmx.at] Sent: Tuesday, March 17, 2015 8:49 PM > To: devel@l

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
openrepos then > you can ignore that. > > re, Jonni > > From: devel-boun...@lists.sailfishos.org > [devel-boun...@lists.sailfishos.org] on behalf of Michael Fuchs > [mic...@gmx.at] Sent: Tuesday, March 17, 2015 8:49 PM > To: devel@l

Re: [SailfishDevel] qml dbus send SMS

2015-03-17 Thread Jonni Rainisto
Fuchs [mic...@gmx.at] Sent: Tuesday, March 17, 2015 8:49 PM To: devel@lists.sailfishos.org Subject: [SailfishDevel] qml dbus send SMS 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 for booking a parking ticket in Vienna/A

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

[SailfishDevel] qml dbus send SMS

2015-03-17 Thread 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 for booking a parking ticket in Vienna/Austria and later other cities as well. As i read the recommended way for sending messages from qml is using dbus. I found this comman