hi,guys:
I want to get the time when sms/mms has been sent.
my code is below, But it seems that when it finished sending sms/mms, "do something" happened twice. anyone have any idea?
if (*(static_cast<TMsvId*>(aArg2)) == KMsvGlobalOutBoxIndexEntryId)
{
CMsvEntrySelection* entries = static_cast<CMsvEntrySelection*>(aArg1);
iNewSentedMessageId = entries->At(0);
TMsvEntry msgEntry; /* class that represents the entry (a local cache) */
TMsvId ownerServiceId; /* TInt32 */
if (iSession->GetEntry(iNewSentedMessageId, ownerServiceId, msgEntry)
== KErrNone)
{
if (KMsvSendStateSent == msgEntry.SendingState())
{
// do something
}
}
}




