Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User mka_'s Avatar
    Join Date
    Jul 2010
    Posts
    8
    Hi,

    I try to use WriteMessage example with Simulator, but when I debug the application, there are no accounts available to send with. There is one test account, but this test account can't handle any types of messages. So my application stops messagebox, when app tries to populate accounts - "no accounts are available to send with".

    So how can I send sms message with Simulator?

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    This is Qt Simulator, not Qt Emulator, so you cannot send SMS there.

  3. #3
    Registered User mka_'s Avatar
    Join Date
    Jul 2010
    Posts
    8
    Ok thanks for fast response,

    further question .. I can send sms messages with Qt simulator by just triggering Incoming SMS. Then if I query messages, I have "this is a simulator-generated SMS message". How does that work then?? Why can't I do it same way? Where does that text comes from??

  4. #4
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Quote Originally Posted by mka_ View Post
    I can send sms messages with Qt simulator by just triggering Incoming SMS.
    Could you please clarify it a bit?

  5. #5
    Registered User mka_'s Avatar
    Join Date
    Jul 2010
    Posts
    8
    I can send sms messages from simulator http://picasaweb.google.fi/lh/photo/...eat=directlink

    Then I have in my constructor SIGNAL messageAdded and SLOT for that ..

    connect(m_manager,
    SIGNAL(messageAdded(const QMessageId &, const QMessageManager::NotificationFilterIdSet &)),
    this,
    SLOT(messageAdded(const QMessageId &, const QMessageManager::NotificationFilterIdSet &)));

    messageAdded slot is something like this

    if(filterSet.contains(myOwnFilterSet))
    {
    QMessage msg = m_manager->message(id);
    qDebug() << "textContent: " << msg.textContent();
    }

    Now I have some simulator -auto-generated sms message http://picasaweb.google.fi/lh/photo/...eat=directlink

  6. #6
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Ok, then SDK people should comment on this.

Similar Threads

  1. Neccesary and sufficient requirements for mail account to appear in messaging app?
    By matthewjtennant in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2010-04-23, 16:05
  2. problem removing imap account on fp2 and 5ed devices
    By baldus in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2009-06-15, 15:10
  3. Problem in creating IMAP account
    By pavarang in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2009-04-29, 11:55
  4. Replies: 3
    Last Post: 2008-05-09, 22:15
  5. Messaging Problem
    By m_brahmin58 in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2008-03-26, 14:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved