Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 412
Registered: ‎09-12-2008
My Device: 9000 9810
Accepted Solution

Cannot properly add a phone log entry

 

Hi all.

 

I am trying to add a bogus entry to the phonelog. Here's what I do:

 

 

PhoneLogs logs = PhoneLogs.getInstance();
PhoneCallLog log = new PhoneCallLog(
new Date(),
PhoneCallLog.TYPE_PLACED_CALL,
65,
PhoneCallLog.STATUS_NORMAL,
new PhoneCallLogID("666"),
"");

logs.addCall(log);

 

 

This callLog entry gets recorded but its history is not correct.

 

Here is what I want it to look like:

Ok history

 

And this is what I get (after few times repeating the phone log addition):

 

 

Histroy NOT ok



Notice the empty rows ?

 

 

How can I update those rows? What did I miss when filling up the PhoneCallLog ?


"Listen carefully, I shall say this only once"
BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Cannot properly add a phone log entry

You are creating the call logs correctly.  The issue appears to be within the phone application, which is not correctly displaying the history.  I have sent this issue to our development team.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 94
Registered: ‎03-06-2009
My Device: Not Specified

Re: Cannot properly add a phone log entry

Mark,

 

I am trying to do the same thing and facing tha same issue. I am using BOLD for testing. Is this issue been fixed or still in progress?

 

 

thanks & regadrs

Prashant

Highlighted
BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Cannot properly add a phone log entry

A fix for this has not been released.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: Cannot properly add a phone log entry

The call log api only works on certain versions of the OS.  Work perfect on 5.0.0.296, but crash and burn on 5.0.0.602.