BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-12-2007, 08:44 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2006
Model: 7250
Carrier: Carrier Has Arrived
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to disable menu completely

Please Login to Remove!

I am trying to remove the menu from my application.
I tried overriding makeMenu with a blank implementation

public void makeMenu(Menu menu, int instance) {}

But my application shows "Hide Menu" menu item everytime I load it.
I would like to load the application without any menus popping up.
Offline  
Old 04-04-2007, 10:56 AM   #2 (permalink)
New Member
 
Join Date: Feb 2007
Model: 8100
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try to ovveride the TrackwheelListener's trackwheelClick method. If this method returns true, the event doesn't pass to the System, and the BlackBerry Menu doesn't show up
public boolean trackwheelClick(int status, int time){
return true
}
Offline  
Old 04-09-2007, 03:48 AM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

try to override method Screen.onMenu:

Code:
    public boolean onMenu(int i)
    {
        return false;
    }
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

Schneider TWDXCPMFK32 Twido 204445 EEPROM
$37.0
Schneider TWDXCPMFK32 Twido 204445 EEPROM picture50-PCS IC M24C02-WDW6T EEPROM 2KBIT 400KHZ TSSOP ST MICRO M24C02-WDW6T 24C02WDW6
$25.97
50-PCS IC M24C02-WDW6T EEPROM 2KBIT 400KHZ TSSOP ST MICRO M24C02-WDW6T 24C02WDW6 picture75-PCS IC 24FC128-I/SN EEPROM 128KBIT 1MHZ SOIC MICROCHIP 2 24FC128-I/SN 24FC128
$25.45
75-PCS IC 24FC128-I/SN EEPROM 128KBIT 1MHZ SOIC MICROCHIP 2 24FC128-I/SN 24FC128 picture15-PCS NM24C16M8 EEPROM SERIAL-2WIRE 16K-BIT 1K X 16 5V 8-PIN SOIC W TUBE
$25.77
15-PCS NM24C16M8 EEPROM SERIAL-2WIRE 16K-BIT 1K X 16 5V 8-PIN SOIC W TUBE picture69-PCS IC AT93C66-10SC-2.7 EEPROM 4KBIT 1MHZ ATMEL 93C6610SC27 AT93C6610SC27
$16.38
69-PCS IC AT93C66-10SC-2.7 EEPROM 4KBIT 1MHZ ATMEL 93C6610SC27 AT93C6610SC27 picture






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