BlackBerry Storm / buttons click does not... (open the Menu)

Hello

wrote a little app for the storm of im.

If I click on a button in the application, the storm comes to open the Blackberry Menu (Simulator with 9000 works fine)

What I'm doing wrong here?

EventHandler:

FieldChangeListener Flistener = new FieldChangeListener() {
            public void fieldChanged(Field field, int context) {
                ButtonField button = (ButtonField) field;
                /*check which button...*/
                if (button.getLabel() =="create Playlist"){
                    UiApplication.getUiApplication().pushScreen(new PlaylistScreen());
                }
            }
        };

Button:

/*Display Buttons for create...*/
        ButtonField createButton = new ButtonField("create Playlist", ButtonField.FIELD_HCENTER);
        createButton.setChangeListener(Flistener);
        add(createButton);

Kind regards

dognose

Oh, sry has completely forgotten this post...

Well, I managed to solve this problem, the Solution was, that I had to add the

ButtonField.CONSUME_CLICK

property to the Style of field button, like this:

ButtonField Button1 = new ButtonField("Button that consumes Click",ButtonField.CONSUME_Click);
add(Button1);

Thanks for your replies anyway.

dognose

Tags: BlackBerry Developers

Similar Questions

  • By double clicking on a file in Windows Explorer it only starts the program it does not open the actual file.

    By double clicking on a file in Windows Explorer it only starts the program it does not open the actual file.  1 program, all the others still work ok.

    This option is used to work, I installed a viewer of this program option (it's a based CAD program) and after that I uninstalled the viewer that he would not even start the program, he was trying to launch the viewr.  I noticed that the file association was still for the Viewer so I changed it back, but he now throws only program.  Under right click, properties, file Type: it is said the extension only where it used to say the name of the program.

    Thank you

    Sam

    Hey Sam,

    Default configuration program.

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    If this does not work, then contact the Help Viewer support.

    All the best!

  • In FF 25 on XP there was a star to the left of the navigation bar to open the bookmarks bar, now he is on the right, but does not open the box - what's up?

    I want this little star back that opens the bookmarks bar. It's just to the left of the field address on XP in FP 25. But Windows 8 in FP 25.0.1 is not there. Instead, there is a star that sometimes appears on the right side of the address bar. But the star on the right does not open the bookmarks bar. It shows only a list of bookmarks and options, which do not include the opening of the sidebar.
    This option has been removed and replaced by Ctrl B?

    Thank you. I don't know what happened, but somewhere in the workplace with classic theme restaurateur, I fell Classic 1.4 of toolbar buttons and found the icon and figured out how to say up there.

  • Double click does not open my files more, instead I need to select open in a popup window. can anyone help? I use windows XP

    Double click does not open my files more, instead I need to select open in a popup window.  can anyone help? I use windows XP

    This could be due to your double-click speed, look on your control panel and go to the mouse. There will be a tab for with double click on set your speed to what you want and test on it fake file.

    Hope this helped,
    James
  • Window Live Mail does not open the wmv files.

    Window Live Mail does not open the wmv files.  It comes up with an error that says: (wrong parameters).  Also gives the path that looks all wrong.  How can I change these settings?

    If I save the wmv on my desktop it will open, so I think that the file association is OK.

     
    1. download and save the attachment to the office.
    2. right click on the saved file.
    3. Select: Open with on the shortcut menu.
    4. click on: choose [default] program.
    5. Select: Windows Media Player.
    6. check: always use the selected program to open this type of file.
    7. click on OK.
     
     
  • M Photoshop CS5 does not open the RAW of Canon 7 d Mark II files. CS6 will do that?

    My Photoshop CS5 does not open the RAW files from my Canon 7 d Mark II camera? CS6 them open?

    Hi terryi23618792,

    Yes, Terry, I think that your friend has not updated 6 CS PS to the latest version.

    Concerning

    Rohit

  • Windows Media Player does not open the .tgz files

    Original title: codec .tgz files

    My Windows Media Player does not open the .tgz files

    Hello

    1. what happens when you try to open the .tgz files?

    2. what version of Windows Media Player do you use?

    .tgz file is not supported by Windows Media Player.

    You can use your favorite search engine to download and install the latest codec for Windows Media Player. Subsequently, check if you are able to read .tgz files.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.


    Reference:
    information about the types of media files that supports Windows Media Player

    Package of Installation of codec

    Hope the helps of information.

  • Picture It! Express does not open the types of jpg, png, gif and bmp files.

    My XP Pro system crashed and I restored from a backup.  Now my Picture It! Express does not open the files jpg, png, gif or bmp.  It is said that Picture It! Express cannot open this type of file.   How can I open these types of files again?

    Hi Ralph w. Smith

    ·         Do you have an error message when you try to open the files?

    Follow these methods.

    Method 1: Uninstall and reinstall the app and check if the problem persists.

    How to change or remove a program in Windows XP

    http://support.Microsoft.com/kb/307895

    Method 2: Follow the steps for Windows XP section.

    How to solve the problems that occur with the JET component and the MDAC component

    http://support.Microsoft.com/default.aspx?scid=kb;en-us;870630

  • Windows Photo Gallery does not open the zipped files

    Photo Gallery Windows does not open the photos that are in the zipped files received by Email. He said: Photo Gallery can't open this photo or video. This file format is not supported, or you do not have the latest updates to the photo gallery.

    This is expected behavior...

    Unzip the file and open the uncompressed version. Or just open
    the zip files and do drag the photos on the zip file and
    drop in a new folder.then you can open.

  • my outlook does not open, the ball just goes round?

    my outlook does not open the ball just goes around and around?

    http://support.Microsoft.com/kb/2022778

    Error at startup of Outlook: "cannot start Microsoft Office Outlook. Cannot open the Outlook window. »

  • Windows 7 does not open the windows in the taskbar. The content seems to be displayed off the screen

    Windows 7 does not open the windows in the taskbar. The content seems to be displayed off the screen. It started after the uninstall of Registry Mechanic and PC Tools, but this cannot be bound. IE 9 seems to be particularly affected. So do not display all of the windows that show on the taskbar.

    Use the Windows logo key & left arrow several times for each windows application through their positions until they appear on the screen.

    This problem is normally reported after someone used an external monitor as the applications try to open in the same position they had when they were last open - so if there was an external monitor last time now disconnected, they will try to open it in the middle of nowhere.

    I know not, or the other tools that you mention, but if they are registry cleaners then they could also affect other parts of your system.

  • Elements 9 does not open the raw files from my new camera

    Have a panasonic DMC-GX85.  My 9 items does not open the raw file and I failed in upgrading to 9.03 and camera raw 6.5.  Y at - it solution or do I have the latest elements?

    There are essentially 4 different solutions to this common problem with the older PES software:

    (1) upgrade to the latest version 14;  It's not free.

    (2) the software should come with your camera and download pictures on your computer;

    (3) your operating system may have some updates to download images from your camera.

    (4) use Adobe DNG converter and it is still free.  The latest version is:

    Adobe - Adobe Camera Raw and DNG Converter: for Windows >

    He must also watch this video to learn how to use the DNG Converter:

    I hope this helps.

  • In Firefox does not open the submenu "Applications".

    I want to install the Firefox open with utorrent magnet links. I choose in the menu "tools-options-applications" and unresponsive. Will not open the menu "applications" to make adjustments. I have uninstalled and installed the new Firefox but the problem remains.

    nvsafe said

    I want to install the Firefox open with utorrent magnet links. I choose in the menu "tools-options-applications" and unresponsive. Will not open the menu "applications" to make adjustments. I have uninstalled and installed the new Firefox but the problem remains.

    Since no one answered after several days and hours of trial and error, I finally found what was and I didn't have access to "applications".

  • Left mouse click selects the button but does not execute the action of the button (for example close)

    HI - this seems to be a problem with Windows rather than the mouse, so any help would be greatly appreciated!

    First of all - I have a trackball M570. Works fine connected to another Windows 7 machine.

    But on a single machine including windows 7... I can use the left click for most, but in some applications, when I click a button it not actually click the button. Yes, he selects the button but it does not perform the button action. I also see the issue in the boxes, I can't put a tick in the boxes. Or at least I just figured someway by combining fast random space bar presses and presses mouse, but it is obviously not right. Couldn't find anything useful in google, so I thought I would try here in hope!

    Thank you for the pointers !

    Cheers, Jim.

    HI - Finally - I found a solution.

    First of all - the following solution worked for me, but there are possible solutions mentioned on the thread I linked in my previous email.

    The mouse is a Logitech wireless, with the SetPoint software installed. I also had a Microsoft wired keyboard and just in case that was the problem, I replaced it and - YES! All good new - in fact explains some other issues, I was less concerned. The problem with the keyboard was somehow screwing of the mouse.

    Since then I have been reduced to a media volume on the keyboard button, no idea how to solve this problem, and the replacement keyboard was free, so just get rid of the old. Note: I could use the old keyboard when I downloaded the Microsoft Mouse and keyboard Center, installed and disabled the offending button.

    Thank you, maybe my solution might help some people out there.

    Jim.

  • BlackBerry Storm Smartphone keyboard does not

    So here's my problem: my keypad does not work. When I push a number nothing happens. The works of 0 and when I hold down the 1 goes to voicemail. When he goes to voicemail, however, where the numbers should be there are letters. If I have someone in my contacts, I can call but I can't dial their number. Everything else on the phone works. Email, SMS and browser all work to them. It is only the most basic function that will not work. I called Verizon and they helped me to restore and then an update, but that did not help. I went to the Verizon store and they said that all they can do is a clean cloth and restoration, the same thing I did over the phone. I then took it to Cell Phone Repair (CPR). They said that they have never seen him. And if they have ever seen, then it must be really screwed. Help, please!

    Hello

    I assume that you have already performed a traction battery without effect, correct? If this is the case, then I'll recommend a more radical action.

    First of all, start by saving the information on the device using the BlackBerry Desktop Software and then disconnect your phone from your computer. Then, download and install the operating system on your computer from here: http://vzw.smithmicro.com/blackberry/download.aspx.

    Once you have your operating system installed on your computer, download and install a program called BBSAK from http://bbsak.org. After installing the program, plug your phone and open BBSAK. When you are prompted, type your BlackBerry password (if you do not have a password, just press ok). The PIN of your BlackBerry should then display to BBSAK. At this point, click Wipe Device. This will delete all data and the operating system of your phone and must leave an error 507 on your phone. Then, click Load OS. Now, this will open the file from the BlackBerry charger that allows you to reload the OS of your storm. Just follow the steps and then once your storm has restarted, you can open the BlackBerry Desktop Software, and restore your data. If you want to be really sure, just do a selective restore of the info that you need (messages, contacts, calendar, etc.). That you will protect, just in case the problem is in part due to a bad database.

    You should now be back running. If not, let me know, but if it's a software related issue, this should solve the problem.  As a final note, this will remove also all your third party apps, you'll then need to re-download those.  If you can, however, delay on that until you know for some that the problem has disappeared.

Maybe you are looking for

  • El Capitan Preview Zoom App problem with PDFs

    Hello world After the upgrade to Yosemite to El Capitan (10.11.5), I noticed a strange when behavior you zoom in PDFs with Preview.app. Crossing of a certain zoom level obviously breaks the screen refresh. The window turns white, while the text and t

  • Portege R600 - BIOS settings change window.

    Hello I have a question. Y at - it all possebility to change settings in the BIOS of a R600 with a tool? The best would be to something that uses a command line / / can be opened with parameters.I would like to change to Tower about 100 machines remo

  • 4600 won't start

    Hi, community, my pro sat suddenly won't start. only power led flashes. Got out of the car, a piece of metal appears to be noise. But - if the drive is broken - shoulnd't the laptop will start anyway? Thank you for your help in advance. Wolfgang

  • Touchpad scroll after healthcheck on Equium A80

    Hi allMy problem, is having a pc on my A80 world health check, I am no longer able to scroll using the touchpad, it happened last year and the only way that I came back was to return to a time where he was scrolling, I mentioned when I went into this

  • WMP is missing a track in an album that has been downloaded on iTunes.

    I downloaded all the tracks in a Coldplay album to itunes.  Track 2 appears not in WMP.  How to make the piece missing from iTunes to WMP?