When I released my utility: LogExport, I didn't think that many people will use it, but I was happily surprised to know that many people use it, and give comments on my blog. LogExport is just a very simple application, it reads your call/sms log, and export them to a CSV file. In this post, I will explain the inner working of LogExport.
LogExport uses Symbian API to access the call log (the classes are: CLogClient, CLogFilter, and CLogViewEvent). Because there might be many entries, I must use Active Object and progress bar to show the export progress. Nothing fancy here, but to find format of each field, I needed to do some experiments (e.g: does the field contains a comma, if so it must be escaped to display properly in CSV). I also need to find the event type for Wifi, which was not documented when I wrote the app (I don't know whether they have document it now), The value of event.EventType().iUid should be 0x1000595F for Wifi.
You can download the source code here.
