BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-22-2009, 01:21 PM   #1
Hendrik2009
New Member
 
Join Date: Feb 2009
Model: 8310
PIN: N/A
Carrier: various
Posts: 2
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, 06:52 AM   #2
Hendrik2009
New Member
 
Join Date: Feb 2009
Model: 8310
PIN: N/A
Carrier: various
Posts: 2
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


JOHNSON CONTROLS P66AAB-2 FAN SPEED CONTROLLER picture

JOHNSON CONTROLS P66AAB-2 FAN SPEED CONTROLLER

$400.00



Johnson Controls MS-ZFR1811-0 Wireless Field Bus Router picture

Johnson Controls MS-ZFR1811-0 Wireless Field Bus Router

$99.99



Johnson Controls Programmable VAV Controller PCV1626 FX-PCV1626-0 picture

Johnson Controls Programmable VAV Controller PCV1626 FX-PCV1626-0

$99.00



Johnson Controls M301MJ Monitor Module picture

Johnson Controls M301MJ Monitor Module

$60.00



Johnson Controls SE-SPU1002-1 Simplicity SE Unit Display Controller picture

Johnson Controls SE-SPU1002-1 Simplicity SE Unit Display Controller

$99.95



JOHNSON CONTROLS MS-VMA1832-0 picture

JOHNSON CONTROLS MS-VMA1832-0

$249.99







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