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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Developer
Posts: 2
Registered: ‎09-08-2008
My Device: Curve 8320
Accepted Solution

navigationUnclickUnhandled seems to put "Full Menu" on my Screen

Simulator: 8330


I see the "Full Menu" text at the bottom of my BB screen after I change the value of an on-screen field. This seems to be happening because of a navigationUnclickUnhandled "event." I'm not sure how to avoid this unexpected behavior.



btnCalculate.setChangeListener(new FieldChangeListener() {

public void fieldChanged(Field field, int context) {
if (context != FieldChangeListener.PROGRAMMATIC) {
double mpg = calculateMpg(milesDriven.getText(), gallons.getText());
System.out.println("MPG: " + mpg);
String clipboardDate = (new SimpleDateFormat("MM/dd/yyyy")).formatLocal(entryDate.getDate());
float roundedMpg = (float)((int)(mpg*10000)) /(float)10000;
String outputText = vehicleChoice.toString() + ": " + clipboardDate + " " + roundedMpg;
} else {
System.out.println("System changed button");

 Stepping through the debugger, the following occurs just before the "Full Menu" menu is displayed in the bottom center of the screen:


DataEntryScreen(Screen).navigationUnclickUnhandled(int, int) line: 3986

If I comment the outputLine.setText(outputText); statement, the unwanted prompt doesn't appear. I don't know how to "handle" the navigationUnclick.


I'd like to display the results of the calculation on the screen, but if there is a better way to do it, I'm open to suggestions!




New Developer
Posts: 2
Registered: ‎09-08-2008
My Device: Curve 8320

Re: navigationUnclickUnhandled seems to put "Full Menu" on my Screen

Solved it.

Define the Calculate button as follows


ButtonField btnCalculate = new ButtonField("Calculate", ButtonField.CONSUME_CLICK+ButtonField.FIELD_HCENTER);