![]() |
any body get QMessageService::moveMessage() work?
I am write a app that will generate a fake message to inform user for some events and tried to make it notify the user through message.
I generate a new message, add it to store, and it's in the SMS_draftsFoler, there is no entry in the message UI, I tried to move it to SMS_InboxFolder using QMessageService::moveMessage(), but it always failed. I checked the parentAccount of folder and message are the same: "ring/tel/ring" The code basically looks like this: Code:
Message message; |
Re: any body get QMessageService::moveMessage() work?
I found the moveMessages() method just works with QMF type of message, aka email, the messageId is startwith "QMF_", but the sms's messageId is startwith "SMS_", so in the moveMessages method it will always fail to do movement.
|
Re: any body get QMessageService::moveMessage() work?
Did you ever get this working?
Im working on a project where I want to insert a QMessage and want it to show up in the Messaging application but I have yet to succed with this task. My code looks like this (Python with pyside) Code:
acc = QMessageAccount().defaultAccount(QMessage.Sms) |
Re: any body get QMessageService::moveMessage() work?
you mean you get it working or not? I think the addMessage will always add it into draf folder instead of incoming folder, so nothing will happen, no notification, nothing.
|
Re: any body get QMessageService::moveMessage() work?
Quote:
you mean you get it working or not? I think the addMessage will always add it into draf folder instead of incoming folder, so nothing will happen, no notification, nothing. |
Re: any body get QMessageService::moveMessage() work?
qmessageservice is half finished and buggy. I can't believe how bad it is on harmattan. tried out with busms and it put me off writing more harmattan stuff
|
All times are GMT. The time now is 09:22. |
vBulletin® Version 3.8.8