View Single Post
Old 01-19-2009, 11:13 PM   #15
OctavianBanica
New Member
 
Join Date: Jan 2009
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 3
Default context always null.

Quote:
Originally Posted by richard.puckett View Post
Weird, man. I'm using 4.2.1 and it's working...

One thing to note is that all you'll ever get for the context is either null (if you're dialing a number) or a PhoneCallLog object representing the most recent entry in the call log - neither of which are terribly useful to anyone, IMO.

Could you post the code that you use to create _menuItem? (or a link to the whole thing if it's not too big)


Hi Richard,

I built a java application that adds a menu item to the call log menu. My problem is when I select a call log and run that menu item, the context is always null. Do you have any idea when the context is null and when is a PhoneCallLog object?

I create the same menu item in the message menu (MENUITEM_MESSAGE_LIST), and from there everything is ok. The context is always a PhoneCallLog object.

I do not understand the difference.

(I use a bb 9000 simulator).

Octavian.

Last edited by OctavianBanica; 01-19-2009 at 11:14 PM..
Offline   Reply With Quote