SMSListener::SMSListener(QObject *parent) :
QObject(parent)
{
QDBusConnection::systemBus().connect("",
"",
"org.ofono.MessageManager",
"IncomingMessage",
this,
SLOT(onMessageAdded(QString,QVariantList)));
}
void SMSListener::onMessageAdded(QString text, QVariantList params)
{
}
On 22.03.2014 00:11, Goulagman wrote:
Hello,
I am trying to build an application that triggers an alarm when a
particular word is written in a SMS. The first step is to be warned
whan a SMS is received. I have searched but I can't find how to do
that. I have an application using telepathy-qt to send an SMS, so I
guess that it is also possible to be warned when one is received.
Is there a standard way to do that ?
Best,
Alexandre.
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list