Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
hong
Posts: 6
Registered: ‎07-16-2008
Accepted Solution

Blackberry Close Menu

[ Edited ]

Anyone know how to turn off the close menu in a midlet (one where you press the menu key on the curve). It breaks the sound in a game so preferably I want it to not appear with the pop up menu at all and disable this button altogether as we have no need for this to function as a button in game.

 

I have seen other games manage this (Indiana Jones), where the command.exit button never appears at all, which is great. Even if I replace the exit command with one of null string "", it will still show and if I add one then remove it again, the default clsoe one appears again.

 

Basically, I think I am trying to get rid of the BASIC_CLOSE menu on a j2me canvas midlet. I am using normal j2me midlet and canvas, not the net.rim.device.api stuff.

 

 

Thanks

Message Edited by hong on 07-18-2008 09:52 AM
Message Edited by hong on 07-18-2008 10:45 AM
Message Edited by hong on 07-18-2008 10:45 AM
Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Blackberry Close Menu

[ Edited ]

This can be done when creating a BlackBerry CLDC application, but the Close menu should always appear for a MIDlet.

 

Here are instructions on how to do it from a BlackBerry CLDC application.

 

How To - Remove the default "Close" or "Hide" MenuItems from a Screen
Article Number: DB-00506

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800256/...

 

Message Edited by MSohm on 07-18-2008 11:09 AM
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
hong
Posts: 6
Registered: ‎07-16-2008

Re: Blackberry Close Menu

Thank you for the help
Please use plain text.
New Developer
hong
Posts: 6
Registered: ‎07-16-2008

Re: Blackberry Close Menu

[ Edited ]

Me being silly.

 

Thanks again 

Message Edited by hong on 07-21-2008 07:03 AM
Please use plain text.