BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-22-2009, 01: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, 06: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

Polycom CX600 Lync Optimized VoIP Phone W/ Handset & Stand
$99.0
Polycom CX600 Lync Optimized VoIP Phone W/ Handset & Stand  picturePatton SN41142JS2JOEUI - VoIP Gateway 2 FXS + 2 FXO Ports (SN41142JS2JOEUI)
$411.9
Patton SN41142JS2JOEUI - VoIP Gateway 2 FXS + 2 FXO Ports (SN41142JS2JOEUI) pictureThe VoIP Lounge Replacement Black Handset for Avaya Lucent AT&T MLX / MLS /
$14.82
The VoIP Lounge Replacement Black Handset for Avaya Lucent AT&T MLX / MLS / picture *NEW* 3Com 2102PE 3Com 2102PE POE VoIP
$90.0
 *NEW* 3Com 2102PE  3Com 2102PE POE VoIP   pictureLOT OF 10 Cisco CP-7942G Unified IP Phone - voip phone - used
$349.0
LOT OF 10 Cisco CP-7942G Unified IP Phone - voip phone - used picture






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