The CallLog and CallLogEntry objects provide an interface to the entries in the call log on Smartphone and PocketPC - Phone Edition platforms. The call log lists information regarding all incoming and outgoing calls for a device, allowing a user to track and return missed calls, manage phone billing charges, and perform additional tasks. It is a read-only data store.
At design time, you can add a CallLog object by selecting Insert>Object>CallLog from the PocketBuilder menu. If you do not use the PocketBuilder IDE to add a CallLog object, you must instantiate a CallLog object in code. You can call the getEntry method on the CallLog object to return a CallLogEntry object.
The following example places information from a single phone call into SingleLineEdit boxes:
Integer li_ret
CallLogEntry l_entry
l_entry = clog_1.getEntry(1)
//display call log entry values in text boxes
sle_name.text = l_entry.Name
sle_number.text = l_entry.PhoneNumber
sle_StartTime.text = l_entry.StartTime
sle_EndTime.text = l_entry.EndTime