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.

inside custom component

Java Development

Reply
New Developer
hong
Posts: 6
Registered: ‎07-16-2008
My Device: Not Specified
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
BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
hong
Posts: 6
Registered: ‎07-16-2008
My Device: Not Specified

Re: Blackberry Close Menu

Thank you for the help
New Developer
hong
Posts: 6
Registered: ‎07-16-2008
My Device: Not Specified

Re: Blackberry Close Menu

[ Edited ]

Me being silly.

 

Thanks again 

Message Edited by hong on 07-21-2008 07:03 AM