Call Log Engine Prob

Login to reply to this topic.
Wed, 2006-01-25 15:59
Joined: 2005-01-22
Forum posts: 112
i m useing Following code for accessing Call Logs(Missed ,dilaled,receive)
  But Problems Is that i am not aceesing the Call Logs
  Code is
ConstructL()

{

Rfs ifssession;
ifssession=CEikonEnv::Static()->FsSession();

     ifssession.Connect();

     iLogClient=CLogClient::NewL(ifssession);
   
     //iRecentLogview=CLogViewEvent::NewL(*iLogClient);
   
     iRecentLogview=CLogViewEvent::NewL(*iLogClient);
   
     iLogFilter=CLogFilter::NewL();

     User::LeaveIfError(iTimer.CreateLocal());
   
}


In

RunL()
{

   CLogEventType* iEventType = CLogEventType::NewL();

    TBuf<20> aNumber;

    iRecentLogview->FirstL(iStatus);

    const CLogEvent& event = iRecentLogview->Event();   

    aNumber.Copy(event.Number());

    CEikonEnv::Static()->AlertWin(aNumber);
}


in AlertWin i m Getting Blank Note.

pls solve it

  thanks with regards
  • Login to reply to this topic.