Hi,
I am trying to send SMS with Messaging API (QtMobility 1.0.2). I have
copied code from some example but id does not seem to work.
Actually i get the same result as was reported in QtMobility 1.0.0
(http://bugreports.qt.nokia.com/browse/QTMOBILITY-202) - my message ends
in the Drafts Folder and is not beeing sent.
With this code:
void SmsInterceptor::sendSms(QString address, QString body) {
// Prepare QMessage with address & body
QMessage message;
message.setType(QMessage::Sms);
message.setTo(QMessageAddress(QMessageAddress::Phone, address));
message.setBody(body);
if (m_messageService.send(message)) {
m_sendId = message.id();
qDebug() << "Message sent";
}
else {
qDebug() <<"Message not sent";
}
}
in .pro file
symbian {
TARGET.UID3 = 0xe380a73f
TARGET.EPOCSTACKSIZE = 0x14000
TARGET.EPOCHEAPSIZE = 0x020000 0x800000
TARGET.CAPABILITY = ReadUserData \
WriteUserData \
ReadDeviceData \
WriteDeviceData
}
Is it 100% sure that this issue is fixed? What could be other reasons of
this behaviour?
Tested on Nokia 5800.
Regards,
Tomek
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback