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

NEW TX17D55VM2CAB KOE LCD PANEL GRADE A 60 DAYS WARRANTY
$780.0
NEW TX17D55VM2CAB KOE LCD PANEL GRADE A   60 DAYS WARRANTY  picture10PCS 2SC2714 Encapsulation:SOT-23,TRANSISTOR
$3.96
10PCS 2SC2714 Encapsulation:SOT-23,TRANSISTOR  picture15A 60V Npn 2N3055 Power Transistor New Ic C
$9.9
15A 60V Npn 2N3055 Power Transistor New Ic C pictureNEW ABB ACS800 Circuit Board BAMU-01C 60 DAYS WARRANTY
$1100.0
NEW ABB ACS800 Circuit Board BAMU-01C  60 DAYS WARRANTY    pictureNEW FUJI module 6MBP150RA-120 6MBP150RA120
$249.42
NEW FUJI module 6MBP150RA-120 6MBP150RA120 picture






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