I am able to send SMS using QMessageServiceAction from a GUI Qt application but same fails in a Console application. the QMessageServiceAction::state is stuck in "InProgress". is any body here faced the same problem then please help me.
I am able to send SMS using QMessageServiceAction from a GUI Qt application but same fails in a Console application. the QMessageServiceAction::state is stuck in "InProgress". is any body here faced the same problem then please help me.
found that here it is panic-ing but did not understand why is error in console only applicationCode:QMessage message; message.setType(QMessage::Sms); message.setTo(QMessageAddress(address, QMessageAddress::Phone)); message.setBody(body); if (iMessageServiceAction.send(message)) // EERN-EXEC: 3
please check out this tread also http://discussion.forum.nokia.com/fo...618#post697618
Haven't used it but obviously there is a dependency on QtGui somewhere hidden.
Can you get a call-stack out the execution ? i.e. if using Carbide you can directly copy/paste it from debugging session.
EDIT:
I made a casual browsing of the code and found the offending lines.. there is few calls to CEikonEnv::Static()->foobar()
which won't exist it Aknenv is not setup (QApplication does this for you).
reported this to QtMobility.
-Janne
Last edited by jakoskin; 2010-01-26 at 16:32.
Hi,
There is a bug in s60 backend implementation. This will be fixed in the future release.
-antti
So there is a problem with the current version of the Qt Mobility implementation. Too bad for me ;