×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    How to determine the order of mms attachment?

    I want to show mms by my UI,How to determine the order of mms attachment?
    Thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to determine the order of mms attachment?

    What do you mean on "order"? Is not the SMIL enough?

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: How to determine the order of mms attachment?

    I want to show a mms slide by slide.So I want to know the order in each slide.

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: How to determine the order of mms attachment?

    There are two slides in the mms and showed in buildin message app:

    in slide one:
    text1
    image1

    in slide two:
    text2
    image2

    So I want to show in the order:
    text1,image1;
    text2,image2;

    Here is my extract attachment code:
    Code:
    MMsvAttachmentManager& attachManager = store->AttachmentManagerL();
    for( TInt i = 0; i < attachManager.AttachmentCount(); ++i )
    {
    CMsvAttachment *attachment = attachManager.GetAttachmentInfoL( i );
    ...
    }
    But the order of extract is:image1,image2,text1,text2

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to determine the order of mms attachment?

    Have you tried CMmsClientMtm::MessageRootAttachment?

  6. #6
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: How to determine the order of mms attachment?

    No,How to use it?

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to determine the order of mms attachment?

    You could check if it returns KMsvNullIndexEntryId or something else. In the something else case it may worth getting the root attachment.

  8. #8
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: How to determine the order of mms attachment?

    And how to get second attachment?

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to determine the order of mms attachment?

    Have you noticed that MMsvAttachmentManager::GetAttachmentXy methods have both TInt and TMsvAttachmentId overloads?

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: How to determine the order of mms attachment?

    Even though this wiki page is in Chinese, the code is there and could be of use to you

    http://wiki.forum.nokia.com/index.ph...99%84%E4%BB%B6
    Cheers,
    Mayank

  11. #11
    Registered User
    Join Date
    Mar 2009
    Posts
    389

    Re: How to determine the order of mms attachment?

    Quote Originally Posted by mayankkedia View Post
    Even though this wiki page is in Chinese, the code is there and could be of use to you

    http://wiki.forum.nokia.com/index.ph...99%84%E4%BB%B6
    To extract attachment isn't promble to me,I want to get those attachments of showing order.Maybe only way to check smil file.

  12. #12
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to determine the order of mms attachment?

    Quote Originally Posted by wiso33 View Post
    To extract attachment isn't promble to me,I want to get those attachments of showing order.Maybe only way to check smil file.
    Well, if that is new to you: yes, the behavior of an MMS is described in the SMIL file.

Similar Threads

  1. What is MMS, EMS
    By roby2411 in forum General Messaging
    Replies: 0
    Last Post: 2006-12-24, 15:26
  2. MMS attachment
    By Utk in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-12-16, 12:03
  3. How to send MMS with multiple attachment ?
    By Lebihen in forum Symbian
    Replies: 2
    Last Post: 2004-08-18, 15:58
  4. 7210 MMS vs. 7650 MMS ...
    By poncha in forum General Messaging
    Replies: 1
    Last Post: 2002-12-19, 11:07
  5. Random order of MMS parts
    By karib in forum General Messaging
    Replies: 3
    Last Post: 2002-10-29, 21:40

Posting Permissions

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