Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Nov 2006

    why it is not showing the incoming sms?....

    hi 2 all,

    i want to move incoming sms into the folders created inside "MyFolder".
    for that i have used following code.

    case EMsvEntriesChanged:
    TMsvId* entryId = static_cast<TMsvId*>(aArg2);
    if (*entryId == KMsvGlobalInBoxIndexEntryId)
    CMsvEntrySelection* entries = static_cast<CMsvEntrySelection*>(aArg1);
    if (iNewMsgId == entries->At(0))

    TBufC<20> IMSI(iSmsMtm->SmsHeader().FromAddress());

    CAknInformationNote* iInfo= new (ELeave) CAknInformationNote;

    TMsvSelectionOrdering sort;

    CMsvEntry* inboxContext=CMsvEntry::NewL(*iSession,KMsvMyFoldersEntryIdValue,sort);

    CMsvEntrySelection* entries1 = inboxContext->ChildrenL();
    CleanupStack::PushL( entries1 );

    TMsvId entryID = entries1->At(1);

    iMsvEntry->MoveL(iNewMsgId ,entryID/*KMsvMyFoldersEntryIdValue*/);

    CleanupStack::PopAndDestroy( entries1 );

    CleanupStack::PopAndDestroy( inboxContext );


    by using this code i can able to move sms.
    but i can not not able to see this sms...i mean if i checked the folders created inside MyFolder option it dosent contains any sms.
    i have also checked in other folders like inbox,outbox,sent,draft but i havent found this sms.

    and one more thing if instead of id of folder created inside MyFolder i used the id(KMsvMyFoldersEntryIdValue) then i can able to see the incoming sms in "MyFolder"......but not in any folder inside MyFolder.

    does anyone knows how to make visible that entry?....or is there any wrong code i have used?

    plz correct me.........any help in this regard will be highly appreciated.


  2. #2
    Regular Contributor
    Join Date
    Nov 2006

    Re: why it is not showing the incoming sms?....

    hi 2 all,

    can anyone help me in this regard?...


Similar Threads

  1. how to use VB to receive incoming sms and store in database
    By lefinale in forum General Messaging
    Replies: 2
    Last Post: 2008-05-29, 03:17
  2. Replies: 1
    Last Post: 2005-12-01, 23:57
  3. MIDlet block the incoming SMS
    By cars2003 in forum Mobile Java General
    Replies: 2
    Last Post: 2004-02-05, 13:29
  4. AT Command to automatically recognize incoming SMS
    By tquantero in forum General Messaging
    Replies: 4
    Last Post: 2003-07-21, 07:25

Posting Permissions

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