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
RE: problem with SMS... it works.. but re-names the title...
2002-10-04, 10:39#2
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.