×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Apr 2004
    Posts
    89

    Deleting SMS from Mobiel Instrument USing SDK

    Hello Friend,

    I want to know that How I can delete the SMS from the Mobile Device??? is there any of the Class available in Nokia C++ SDK????

    Or in symb SDK

    Tell me Fast

    Jignesh Kakkad

  2. #2
    Regular Contributor
    Join Date
    Jun 2003
    Posts
    113
    To delete from inbox:

    // entryId - the TMsvId of the SMS you want to delete
    TMsvEntry msvEntry = (iSession->GetEntryL(entryId))->Entry();

    // delete from inbox
    TMsvSelectionOrdering sort;
    sort.SetShowInvisibleEntries(ETrue);

    // get parent context (inbox)
    CMsvEntry* parentEntry = CMsvEntry::NewL(*iSession, msvEntry.Parent(), sort);
    CleanupStack::PushL(parentEntry);

    // delete entry
    parentEntry->DeleteL(msvEntry.Id());
    CleanupStack::PopAndDestroy(parentEntry);

Posting Permissions

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