×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    108

    problem with SMS... it works.. but re-names the title...

    hi,

    i am working on the port of the gdsms example on the 7650. everything is working, except when the program is running and if i get a new message, the program checks if the message is directed towards it.. by reading the first 4 characters of the message, but it also seem to to change the title and senders details into junk characters.. squares!!!

    what could be going wrong?

    thanks,
    ash

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    81

    RE: problem with SMS... it works.. but re-names the title...

    comment the following line.

    // entry->ChangeL( msvEntry );

    I did the same.

  3. #3
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    196

    RE: problem with SMS... it works.. but re-names the title...

    Hi,

    This line (entry->ChangeL()) is in two different places in the HandleSessionEventL(). You only need to comment the first one at:

    case EMsvEntriesCreated:
    ...


    //Process each created entry, one at a time.
    for(TInt i = 0; i < entries->Count(); i++)
    {
    // Setting all messages in the selection as invisible
    entry = iSession->GetEntryL( entries->At(i) ); // this reserves memory for a new CMsvEntry
    TMsvEntry msvEntry(entry->Entry());
    msvEntry.SetVisible(EFalse); // set as invisible
    // entry->ChangeL(msvEntry); // <--- comment this line out

    ...

    There is another ChangeL() call a bit futher down, that one you don't have to remove.

    Best Regards,
    Ari / Forum Nokia

Posting Permissions

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