BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-22-2009, 12:21 PM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8310
PIN: N/A
Carrier: various
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding Menu Item into active connected call

Please Login to Remove!

Hi guys,

I'm trying to get my menu item into an active and connected call. However it should not appear anywhere else.

I know the standard process to register menu items.
addMenuItem(ApplicationMenuItemRepository.MENUITEM _PHONE , menuItem);

neither MENUITEM_PHONE
nor MENUITEM_PHONELOG_VIEW
do me any good, as the menu item is added to the phone application, while a call is NOT active (not dialing, not connected).

MENUITEM_SYSTEM does add the menuitem into my active connected call, however my particular menu item is also added in other places, using MENUITEM_SYSTEM.

How to solve this problem?
Offline  
Old 02-24-2009, 05:52 AM   #2 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8310
PIN: N/A
Carrier: various
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Partly solution:

I'm using a phonelistener now. When the call is connected I register my menuitems with MENUITEM_SYSTEM, later I remove them upon call disconnected. While this works, it has a sideeffect. If the user returns to the homescreen and other parts of the BlackBerry he can still see these menuitems, as long as the call is connected.

Still looking for a clean method to see my menuitems only during an active and connected call while the connected call screen is visible. (I'm thinking of some background thread, checking if the screen is on top, but that would be messy, wouldn't it? So many other things could happen meanwhile)
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.