Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2004

    Question Reading the raw MMS content in s60 3rd

    I am trying to read the raw content of a WAP PUSH (is a wap push sl, for that matter, but my problem apply also to wap si).

    I created a CMsvSessionObserver and got the message loaded in a CClientMmsMtm. Now I am unable to read the content of the message.

    I found as a suggested way this one:

    CMsvEntrySelection* att = messageMmsMtm->GetAttachmentsL();
    TFileName fileName; TBuf<256> buf;
    CPlainText* textAtt = CPlainText::NewL();
    for(TInt i = 0; i < att->Count(); i++) {
    if(messageMmsMtm->AttachmentTypeL(att->At(i)) == MIMETxt) {
    messageMmsMtm->GetAttachmentPathL(att->At(i), fileName );
    textAtt->ImportTextFileL( 0, fileName, CPlainText::EOrganiseByLine );
    textAtt->Extract( buf, 0);

    But GetAttachmentsL() is no more available in S60 3rd. So, HOW I can read such a message?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: Reading the raw MMS content in s60 3rd

    On 3rd edition applications without AllFiles capability could not access the attachments directly since they reside in a private folder of the Messaging Server. Thus the concept of Attachment Manager has been introduced for accessing attachments. Check it in the SDK Help (MMsvAttachmentManager as I remember).

Similar Threads

  1. Replies: 7
    Last Post: 2007-09-05, 10:38
  2. SIP Plugin 4.0 and SIP in S60 3rd Ed.
    By sipshakers in forum Symbian
    Replies: 2
    Last Post: 2007-05-09, 08:08
  3. S60 3rd Edition Device and Heap limitation!
    By khurshed79 in forum Symbian
    Replies: 6
    Last Post: 2006-06-29, 10:51
  4. WSP encapsulation of raw mms, PC control of an MMS phone.
    By ryanxplor in forum General Messaging
    Replies: 0
    Last Post: 2003-02-20, 11:02
  5. 7210 MMS vs. 7650 MMS ...
    By poncha in forum General Messaging
    Replies: 1
    Last Post: 2002-12-19, 11: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