BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 01-19-2010, 10:16 AM   #1 (permalink)
Thumbs Must Hurt
Join Date: May 2007
Location: berlin, germany
Model: 8310
Carrier: vodafone
Posts: 163
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default makeMenu does not work after 10 times

Please Login to Remove!

I have got an application which has 7 screens and in all of thoses screens I do have custom menus.

So I have overwritten the makeMenu void.

Then I start my application on the BB and open one of those 7 screens. I fress the Trackbar (BB 8900 Java v4.6.1.133) an my custom menu appears and I can choose one Item. All fine. But after 10 or 15 times the menu doesn't appear.
When I debug my app, then the makeMenu void is executed but the menu doesn't apper, but all other actions are executed.

Then I leave the screen and go back to the "mainScreen" of my Application and press the trackball again the menu doesn't appear. The same on all other Screens.

Also the "back"-Key doesn't work in some screens.

Some code maybe Help:
PHP Code:
 private final classmyMainscreen extends MainScreen {
void makeMenu(Menu menuint instance){
menu.add(new MenuItem("RFID Setup "4040) {
void run() {
                 menu.add(new MenuItem("RFID schreiben", 130000, 5) {
                    public void run() {
                // test ende

and from one other form:
PHP Code:
// c is a ListField
protected void makeMenu(Menu menuint instance){
int idx c.getSelectedIndex();
System.out.println("Index: " idx);
        try {       
menu.add(new MenuItem("Details"200000,20) {
void run() {
clsAuftrag dummy = (clsAuftrag)auftragsListe.elementAt(idx);
auftragDetails form = new auftragDetails("blaaa");
    }catch (
Exception ex1) {
System.out.println("Error 0x332: " ex1.toString());
// ...

maybe some can give me a hint how to fix this problem

thanks hibbert
My English is so bad, that makes me nobody so quickly after
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
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.