Use an active object //////////////////// iLogWrapper=CLogWrapper::NewL(CEikonEnv::Static()->FsSession()); CLogBase* logBase = &(iLogWrapper->Log() ); iLogClient=static_cast<CLogClient*>(logBase); iRecentLogView = CLogViewRecent::NewL(*iLogClient); iRecentLogView->SetRecentListL(KLogNullRecentList,iStatus); SetActive(); /////////////////////////// In RunL
LogCli.dll works with phone's log engine. For Calls, this is logdbu file. On the p900 log is not organized in this way. There isn't such file and you can't use this dll.
Forum posts: 7
Use an active object
////////////////////
iLogWrapper=CLogWrapper::NewL(CEikonEnv::Static()->FsSession());
CLogBase* logBase = &(iLogWrapper->Log() );
iLogClient=static_cast<CLogClient*>(logBase);
iRecentLogView = CLogViewRecent::NewL(*iLogClient);
iRecentLogView->SetRecentListL(KLogNullRecentList,iStatus);
SetActive();
///////////////////////////
In RunL
TBuf<20> telNumber;
const CLogEvent& event = iRecentLogView->Event();
telNumber.Copy(event.Number());
/////////////
This is for most receireceived call...
procedure is same for rest of the things.
Happy coding
Narasimham.m
Forum posts: 34
I work with p900 and on this mobile there isn't logcli.dll. How can I use
"iRecentLogView = CLogViewRecent::NewL(*iLogClient); "
without this dll ?
thanks!
Forum posts: 20
Forum posts: 34
LogCli.dll works with phone's log engine. For Calls, this is logdbu file. On the p900 log is not organized in this way. There isn't such file and you can't use this dll.