BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-20-2009, 04:21 AM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: 8110
PIN: N/A
Carrier: Vodafone
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Remove default menu items

Please Login to Remove!

I am developing a blackberry application.How can I remove default menu items appeared in blackberry screen? Or can I override and customize those items?
Offline  
Old 04-20-2009, 06:29 AM   #2 (permalink)
Crimson Tide Moderator
 
JSanders's Avatar
 
Join Date: Oct 2004
Location: North of the moss line
Model: 9xx0
OS: 7.0sumtin
PIN: t low
Carrier: Verizon
Posts: 41,913
Post Thanks: 59
Thanked 241 Times in 180 Posts
Default

**moved to the Developers section**
Offline  
Old 04-20-2009, 06:58 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

The menus are built in the protected void makeMenu( Menu menu, int instance ) method. If you override this, and don't call super.makeMenu() IIRC you won't get the default menu items. You can then add menu items with the same name as the defaults that do what you want.
__________________
My other Blackberry is a PlayBook.
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

PN4142 - QTY 35 - NEW TRANSISTOR
$5.0
PN4142  - QTY 35 - NEW  TRANSISTOR picturePN2907A - QTY 200 - NEW TRANSISTER PNP TO-92
$5.0
PN2907A  - QTY 200 - NEW  TRANSISTER PNP TO-92 picture3 pieces 1k ohm 1/4 W resistors (no ship 12/19/16-1/3/201)
$2.0
3 pieces 1k ohm 1/4 W resistors (no ship 12/19/16-1/3/201) picture3 pieces 68 ohm 1/4 W resistors (no ship 12/19/16-1/3/201)
$2.0
3 pieces 68 ohm 1/4 W resistors (no ship 12/19/16-1/3/201) picture2N3791 (2) TRANS PNP 60V 10A TO-3 & 2N3055 (2) GP BJT NPN 70V 15A 3PIN TO-3
$6.05
2N3791 (2) TRANS PNP 60V 10A TO-3 &  2N3055 (2) GP BJT NPN 70V 15A 3PIN TO-3   picture






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