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


32

32" Android 7 Touchscreen VESA Mount Wallboard (ROOTED w/ Nova Launcher)

$99.99



WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card picture

WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card

$129.00



New Factory Sealed AB 1756-L61 SER B ControlLogix 2MB Memory Controller 1756 L61 picture

New Factory Sealed AB 1756-L61 SER B ControlLogix 2MB Memory Controller 1756 L61

$304.72



New Factory Sealed AB 1769-L19ER-BB1B SER A CompactLogix 1MB Memory Controller picture

New Factory Sealed AB 1769-L19ER-BB1B SER A CompactLogix 1MB Memory Controller

$1219.92



NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In picture

NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In

$283.22



Oktis - 2 Portable Fuel Analyzer Tester Meter Octane Number Gasoline Petrol picture

Oktis - 2 Portable Fuel Analyzer Tester Meter Octane Number Gasoline Petrol

$179.99







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