BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-02-2009, 11:20 AM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Model: 9000
PIN: N/A
Carrier: turkcell
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't get rid of Blackberry Menu

Please Login to Remove!

Hi;

I created MainScreen extended Login class and trying to get rid of the Blackberry application menu unfortunately cant handle it.

here is the code;


Code:
final public class Login extends MainScreen  {

public Login() {
		super(NO_SYSTEM_MENU_ITEMS);
	}
	
	protected void makeMenu(Menu menu , int instance) {
		menu.deleteAll();
		
		menu.add(MenuItem.separator(122));
	
		menu.add(MenuItem.separator(155));
		menu.addSeparator();

	
		}
Should i override Menu button on Blackberry too?
Offline  
Old 03-02-2009, 02:28 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

add super.makeMenu(menu, instance); to the makeMenu method
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





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