BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 03-12-2007, 09: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.
Old 04-04-2007, 11:56 AM   #2 (permalink)
New Member
Join Date: Feb 2007
Model: 8100
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts

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
Old 04-09-2007, 04: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

try to override method Screen.onMenu:

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

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.