Hello everyone,
I implemented a class that reads 10 entries from dialled numbers call list in 3rd edition. I initialize CLogClient with R_LOG_DIR_OUT constant like this:
Then I check if there are any entries in the list and if there are any I start with reading like this:Code:TBuf<64> direction; iLogClient->GetString(direction, R_LOG_DIR_OUT); // Set the direction to be filtered iLogFilter->SetDirection(direction); iLogFilter->SetEventType(KLogCallEventTypeUid);
In my RunL(), depending on current state, I call either:Code:TBool eventsInView = iLogView->SetFilterL(*iLogFilter, iStatus); if (eventsInView) { iState = EDialedNumberCreatingView; SetActive(); }
or:Code:TBool moreItemsInList = iLogView->FirstL(iStatus);
And I access current item like this:Code:TBool moreItemsInList = iLogView->NextL(iStatus);
The thing is that all that works fine and I'm able to read the entries from the list but I can read those entries even when they are deleted from the phone. I mean, when I go to "Log" ==> "Recent calls" and delete all entries from all lists I'm still able to read those entries from my application.Code:const CLogEvent& event = iLogView->Event();
I assume that "Clear list" menu option on phone does not delete all the entries physically and only changes their status/flag or something like that.
Is there anyone who knows how can I filter/retrieve only entries that were not deleted by user?
I would appriciate any kind of help.
Regards,
Sasa



Reply With Quote

