Hi all,
I am working on S60 3rd edition. In my application i want to retreive the phone number of an incoming SMS. I am using the following code to do that.
Now when i diplay the value in iPhDetail descriptor i observeCode:CMsvEntry* serverEntry = iSession->GetEntryL( aEntryId ); // current entry CleanupStack::PushL( serverEntry ); TMsvEntry entry = serverEntry->Entry(); // currently handled message entry entry.SetNew( ETrue ); entry.SetUnread( ETrue ); entry.SetVisible( ETrue ); serverEntry->ChangeL( entry ); // commit changes iPhDetail.Zero(); iPhDetail.Copy(entry.iDetails); //get the phone number
the following
1. If the phone number of the incoming SMS is not stored in the contact list of the phone, then the phone number (in digits) gets displayed.
2. If the phone number of the incoming SMS is stored in the contact list of the phone with some name, then the name gets displayed.
According to the needs of my application i always want to retreive the phone number in digits even if it is stored in the contact list with some name.
I want to know how i can do that.
thanks and regards,
krishna.







