[SailfishDevel] Sending SMS Messages from Sailfish Alpha 2 from QML

christopher.lamb at thurweb.ch christopher.lamb at thurweb.ch
Fri Aug 9 16:23:09 UTC 2013


Hi John

I think the QML side should look like this:

     TelepathyChannelManager {
         id: handler
     }

     property var currentChannel:  
handler.getConversation("/org/freedesktop/Telepathy/Account/ring/tel/account0",  
"12345")

         PullDownMenu {
             MenuItem {
                 text: "Send Test SMS"
                 onClicked: {
                     currentChannel.sendMessage("Hello world");
                 }
             }
         }
Chris





More information about the Devel mailing list