Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User psi1983's Avatar
    Join Date
    Jun 2005
    Posts
    7
    Hi!
    I 'm interesting incoming sms and want to move some incoming sms to my own folder named "XXX" in INBOX standard folder.
    So i made one my own folder under inbox folder and moved sms succesfuly to my folder.
    But when i open my own folder in my real device,when i press back button the 'mce' programe closed not to INBOX that is its parent .
    after i open and see around my folder when i other back mce programme closes.
    What's the matter?
    This is my code.
    TMsvEntry folder;

    folder.iType = KUidMsvFolderEntry;
    folder.iMtm = KUidMsvLocalServiceMtm;
    folder.iServiceId = KMsvLocalServiceIndexEntryId;
    folder.iDetails.Set(item);
    folder.SetVisible(ETrue);
    cEntry = iSession->GetEntryL(KMsvGlobalInBoxIndexEntryId);
    CleanupStack::PushL(cEntry);

    cEntry->CreateL(folder);
    CleanupStack::PopAndDestroy();
    BEST Regards!

  2. #2
    Regular Contributor template60's Avatar
    Join Date
    Feb 2005
    Posts
    328
    Mmmm, perhaps set the parent?

    folder.SetParent(KMsvGlobalInBoxIndexEntryId);

  3. #3
    Registered User psi1983's Avatar
    Join Date
    Jun 2005
    Posts
    7
    Thanks template60 for your fast reply.
    When we create folder from KMsvGlobalInBoxIndexEntryId,It 's parent will be setten to be KMsvGlobalInBoxIndexEntryId ,is'nt it?
    However i will try your advise.
    Best regards ,template60

  4. #4
    Regular Contributor ninidotnet's Avatar
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    246
    hi psi1983,

    do you have any example on how to create folder instead of default folder (inbox,outbox,drafts,sent items)

    thanks

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