Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-26-2008 09:23 PM
I am currently dev/testing an app on a Blackberry 8830. I have stress-tested the application in the 8800 series simulator that is bundled with the JDE v4.2.1 and everything works great. I have deployed the application on the handheld and when I attempt to get a phone number in the PhoneCallLog I am getting a NullPointerException. I have read in a variety of threads that OS 4.3 returns a null context. But my device shows v22.214.171.124 (Platform 126.96.36.199). I am wondering if anyone knows of this issue and how to correctly get the PhoneCallLog object?
I am also wondering how do I remove an application from a device? When I goto Options>Advanced Options>Applications>Modules I see my application name but the menu has only permissions options no delete. Any thoughts on that would be greatly appreciated. I loaded the application using the javaloader that comes with the JDE.
Thanks in advance for the assistance.
Solved! Go to Solution.
11-27-2008 09:55 AM
I assume you are talking about using ApplicationMenuItem to retrieve the object?
If so, then all versions of BB OS that I have tested return a null context object on the PhoneCallLog if the "view" of the log is set to anything other than "Call Log".
Open the Call Log screen, select Options / General Options, and look at "Phone List View".
11-27-2008 05:23 PM
Thanks for the reply. Yes I was meaning ApplicationMenuItem, I guess that is pretty important information to leave out.
Your suggestion seems to have worked. Strangely enough I did a handheld wipe last night and loaded my application using desktop manager. I then tried running it and it worked fine. So I am guessing that the wipe probably changed the option to CallLog on install and after calls come in it changes to most recent? Do you know of a way to force that change programmatically? The change to CallLog in the options I mean?
Thanks again for the help.
11-27-2008 06:27 PM
There is no way to change it, other than the menus.
One work-around is to select the option to have your missed calls go to the messages list. From the messages list, the CallLog context seems to work correctly in all versions that we have tested. Of course, you will have to place your MenuItem on the Messages list and the Message View screens to get the object.
See this FAQ:
11-27-2008 06:35 PM
Thanks for more information regarding this issue. I appreciate the suggestions. I will look into migrating the call log view to the message view. Am I correct to assume though that the CallLog option change will only show outgoing calls made or will it also show incoming calls?