This article applies to the following:
BlackBerry JDE 4.0 introduces a phone logs API (net.rim.blackberry.api.phone). The phone logs API allows developers to:
Note: The phone logs API is very useful for companies that use time billing.
The functions that are used to navigate through a phone log are as follows:
PhoneCallLog (extends CallLog) and PhoneCallLogID classes return data structures from a call record. PhoneCallLogID deals with data regarding a phone number. This class contains getNumber(), getName() and setName().
PhoneCallLog produces the rest of the data such as getDate(), getNotes(), getStatus() and setNotes(). Thus, it is crucial to use all the classes in this API to build an appropriate phone log application.
The following sample illustrates a custom application, which logs all answered calls and their details.
Phone Log Java Source Code