×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    45

    QMessageServiceAction + Console

    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.

  2. #2
    Registered User
    Join Date
    Apr 2009
    Posts
    45

    Re: QMessageServiceAction + Console

    Code:
        QMessage message;
        message.setType(QMessage::Sms);
        message.setTo(QMessageAddress(address, QMessageAddress::Phone));
        message.setBody(body);
        
        if (iMessageServiceAction.send(message))  // EERN-EXEC: 3
    found that here it is panic-ing but did not understand why is error in console only application

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    45

    Re: QMessageServiceAction + Console


  4. #4
    Registered User
    Join Date
    Apr 2009
    Posts
    45

    Re: QMessageServiceAction + Console

    nobody faced same problem ?

  5. #5
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    286

    Re: QMessageServiceAction + Console

    Quote Originally Posted by nameispriya View Post
    nobody faced same problem ?
    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.

  6. #6
    Registered User
    Join Date
    Sep 2007
    Posts
    2

    Re: QMessageServiceAction + Console

    Hi,

    There is a bug in s60 backend implementation. This will be fixed in the future release.

    -antti

  7. #7
    Registered User
    Join Date
    Apr 2009
    Posts
    45

    Re: QMessageServiceAction + Console

    So there is a problem with the current version of the Qt Mobility implementation. Too bad for me ;

Similar Threads

  1. Replies: 24
    Last Post: 2008-09-14, 17:24
  2. Dial a Call Console Problem
    By Ceratos in forum Symbian
    Replies: 4
    Last Post: 2008-07-18, 09:48
  3. Sensor API within console application
    By Saxer in forum Symbian
    Replies: 3
    Last Post: 2008-07-16, 13:38
  4. Re-Installation Issue with console exe
    By neekasa in forum Symbian
    Replies: 3
    Last Post: 2007-12-27, 12:31
  5. Replies: 3
    Last Post: 2007-11-28, 19:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×