×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    8

    Send MMS with QtMobility on Harmattan

    Hi,
    I'm having trouble sending MMS messages with QtMobility/messaging on harmattan.
    On Harmattan I'm only able to send SMS messages while on Symbian both MMS and SMS work.
    Any idea why this does not work on Harmattan?
    On Harmattan I get this debug output from QMessageService:
    "send Cannot obtain default account"

  2. #2
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Send MMS with QtMobility on Harmattan

    Hi,

    Yes it doesnt work.

    Bug exists for it -

    https://bugreports.qt-project.org/br...TMOBILITY-1936

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    8

    Re: Send MMS with QtMobility on Harmattan

    Any workaround?

  4. #4
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Send MMS with QtMobility on Harmattan

    Hi,

    telepathy-qt4 can be used for sending SMS, i didnt check the same for MMS yet.

    http://harmattan-dev.nokia.com/docs/...-doc/main.html

    contact-messenger/sender.cpp - you can see a commandline example to send sms

    Sender::Sender(const QString &accountPath,
    const QString &contactIdentifier, const QString &message)
    {
    Tp::AccountPtr acc = Tp::Account::create(TP_QT4_ACCOUNT_MANAGER_BUS_NAME,
    accountPath);
    messenger = Tp::ContactMessenger::create(acc, contactIdentifier);
    connect(messenger->sendMessage(message),
    SIGNAL(finished(Tp::PendingOperation*)),
    SLOT(onSendMessageFinished(Tp::PendingOperation*)));
    }

    where the parameters for the above - account path would be - "/org/freedesktop/Telepathy/Account/ring/tel/ring"
    ContactIdentifier - contact number or phone number
    message - string that you would want to send in sms.

    Frame the message for the above as required for mms, it might work.

Similar Threads

  1. Send MMS with QtMobility on Harmattan
    By guvi in forum [Archived] Qt Mobility Project
    Replies: 2
    Last Post: 2012-02-01, 08:02
  2. [Moved and Merged]How to send message to several phones by QtMobility?
    By wangruiwz in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2011-08-11, 07:58
  3. Problem in compiling QtMobility Messaging code to send email
    By abhaykochar883 in forum [Archived] Qt Mobility Project
    Replies: 2
    Last Post: 2011-01-31, 13:13
  4. Cannot send SMS the second time. Need help with QtMobility problem!
    By ravi4frenz in forum [Archived] Qt Mobility Project
    Replies: 7
    Last Post: 2011-01-29, 06:13
  5. Error with QtMobility 1.0 after succesfully intall QtMobility tp2
    By Estel in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-06-21, 21:21

Posting Permissions

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