Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Getting latest call info with log engine

3 replies · 3,979 views · Started 20 February 2003

Hi,

First off thanks for this great forum! I have a question about the log engine if anyone cares to take a stab at this. I'm basically trying to grab the latest call number and time from within my application but can't seem to get it to work. I've read through the SDK on the log engine API but am still quite confused. I'm just not sure how the different log classes are used to access the call information. I've successfully compiled and run my code on the 3650 but don't receive any output.

A brief snippet of my code looks like:

file.Connect();

clc = CLogClient::NewL(file);
clv = CLogViewRecent::NewL(*clc);

const CLogEvent& event = clv->Event();
const TDesC16& desc = event.Description();

file.Close();

This is just trying to grab the latest event description and then proceed to set it in a label component within the application. Can someone shed some light on what I'm doing here and possibly post some code that works? Thanks in advance for any insight you can offer.

Best regards,
Dennis

Sorry I'm just replying to my own post because I wasn't logged in initially. Just so I can be notified when a reply is posted! 😃

I am trying to do the same. Did you get thr? If yes could you pls. tell me how?

I'm searching for a long time for an app. that could save or export call log to PC for Nokia 9300 but still nothing I found. Plz if anyone can help me.

Thank you