hi,
anybody can tell me the method in symbian os 9.1?
thanks & regards
hi,
anybody can tell me the method in symbian os 9.1?
thanks & regards
hi,
this gives the address of the incoming number defined in msvstd.h
TMsvEntry MsvEntry = iMtm->Entry().Entry();
TBufC<20> itext(MsvEntry.iDetails);
Regards,
Mateen Maldar
"Whatever the mind can conceive and believe, the mind can achieve"
Hi Mateen Maldar,
thank you very much!
you have given me a big favor!
i do get the incoming sms number which is not in my contacts, and if the number is in contacts i would get the contact name.
i have another quesion:
it always appears a prompt dialog when a sms arrive.
is it possible to hide the dialog?
hi,
you could hide the dialog by marking the SMS read.
And check the TMsvEntry from the mmsvids.h to retrive the number.
Regards,
Mateen Maldar
"Whatever the mind can conceive and believe, the mind can achieve"
hi,
thank you all the same.
i try it, but happen nothing.
i have no enough sms examples.
here is my code, in which there must be something wrong.
switch (aEvent)
{
case EMsvEntriesCreated:
if (*(static_cast<TMsvId*>(aArg2)) == KMsvGlobalInBoxIndexEntryId)
{
CMsvEntrySelection* entries = static_cast<CMsvEntrySelection*>(aArg1);
iNewMessageId = entries->At(0);
iSmsMtm->SwitchCurrentEntryL(iNewMessageId);
TMsvEntry entry = iSmsMtm->Entry().Entry();
entry.SetUnread(EFalse);
}
break;
default:
break;
}
When you are used to remind the past, you have been being old.
hi,
u can download the examples for the following link
http://www.forum.nokia.com/info/sw....S60_2x.zip.html
There a MessageObserver example which is a simple description of the sms example.
Regards,
Mateen Maldar
"Whatever the mind can conceive and believe, the mind can achieve"
hi,
it's a nice sms example, in which i learn much.
i must implement something before my summer vocation.
thanks & regards
When you are used to remind the past, you have been being old.