Originally Posted by kiran10182
Kiran thanks for reply,I have tried the code provided in link but nothing happens .
I have tested the code in following way:
I started the application and then I sent the message to this mobile , but it didn't react to it .I have placed Message box to read sms body .
void SmsNotify::messageAdded(const QMessageId &id, const QMessageManager::NotificationFilterIdSet &matchingFilterIds)
QMessageContentContainer bodyPart = msgReceived.find(msgReceived.bodyId());
// bodyPart.isContentAvailable() : returns true if there is message body
QString bodyText = bodyPart.textContent();
QString msgSender = msgReceived.from().recipient();
// Ignore this state
And another thing QMessageStore is not working I have used QMessageManager instead.
So am I doing it wrong way or I have to put some more code to get it work??,Plz can u help me ...