Detect the moment you press menu key BlackBerry using the Midlet and GameCanvas

Hi all

I develop only a game and I need to detect when you press the BlackBerry menu button, so I can to pause the game. I don't want add that any new options in the menu, just pause the game when clicked. I found a lot of references using UIApplication and other things. But I use MIDLet and GameCanvas, I use a library of the rim.

Anyone knows how I can detect when this button is pressed? Because this key is not evoke the keyPressed GameCanvas method.

How can I do! Is there a library of RIM specific one that I can import and spread something so I can detect this key?

Kind regards

Vitor

Check this thread.

http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&thread.ID=23314&view=by_date...

Tags: BlackBerry Developers

Similar Questions

  • Hi all, I keep is typed in the password at startup box, in bars in safari and firefox coupled with a stuck key noise that stops when you press a key, I scanned with antivirus that seems clear, can anyone help?

    Hi all, I get a storm of +'s typed in the password at startup box upward, in bars in safari and firefox coupled with a stuck key noise that stops when you press a key, I scanned with antivirus that seems clear, can anyone help?

    Clings in the key on the keyboard? Wired or wireless keyboard?

    Try to run this program, copy and paste the result in a response. The program was created by Etresoft, a regular contributor.  Use please copy and paste the screenshots can be difficult to read. On the screen with the Options, please open Options and tick the boxes in the bottom 2 before the race. Click on the button "Report share" in the toolbar, select "Copy to Clipboard" and then paste into a response. This will show what is running on your computer. No personal information is shown.

    Etrecheck - Information System

    Reset an Apple Bluetooth mouse or Trackpad wireless keyboard (pairings and other common troubleshooting problems)

    Restart your computer, hold down the option/alt - P - R keys command before the gray screen appears. Continue until you hear the startup chime for the second time.

    Reset the NVRAM EXTRA memory

  • When you press a key, it causes a change in working capital in the theme color. How do undo you this?

    ORIGINAL TITLE: Keyboard is disabled for a specific user only.

    When you press a key, it causes a change in working capital in the theme color.  This was done deliberately.  How do undo you this?  It is a roaming user on our network profile.

    Hi Koosharem219,

    If you still experience the issue, pressing any key changes the color of the theme, please create a new thread in the Windows XP IT Pro forum. The experts in this forum are better able to help you configure this user account.

  • I'm trying to re - install windows xp. I get regarding the selection of CD/DVD to install (enter), then I press any (I have not pressed a key any), screen is empty, and that's all.

    My first attempt seemed to work although I don't not re-install all the drivers at this time here.  When I then turned on computer, I got a white screen.  I took advice and tried to install xp again.  I get regarding the selection of CD/DVD to install (enter), then I press any (I have not pressed a key any), screen is empty, and that's all.

    Hello

    It seems that this computer is not able to detect the drive. Use the steps described in the article mentioned below to clean the disk, and then try to install XP.

    How to troubleshoot common problems that occur when a Windows XP-based computer cannot read a CD or DVD

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

    If you are able to boot to the desktop without inserting the disc, please perform a flat installation.

    How to perform a flat Installation of Flat copy CD to hard drive:
    http://support.Microsoft.com/kb/294727

  • Re: Keyboard typing letter and numbers when you press letter keys

    Hello

    My keyboard is typing letters and numbers when you press letter keys. I did im sure on the correct mode. You know FN - 11 / FN - 10. I have a Satellite L300D-11V running Windows vista Home premium. Can anyone help?

    I also tried holding down both shift keys for 20 seconds and two shift, and the ALT for 20 sec, but no change. Sticky keys are not on and the language of the keyboard is set to the United Kingdom.

    Any help would be great,

    Thank you.

    Hello

    You can connect the keyboard external usb to check?

  • How to detect the moment you press the Enter key

    I use a texteditbox on a Panel to take input from the user. I want to process the contents of the edit box when you press the Enter key in the editing area. I wonder as to how I would be able to detect the key pressed? Pointers would be appreciated. Thanks in advance.

    Hello

    Yes, if you want to do something only if the Enter key is pressed, you must implement an IEventHandler and check the virtual keys kReturnKey and kEnterKey.

    Markus

  • Behavior of the button when you press ENTER key

    I want to run that by the forum to see if someone else can confirm.
    On a PC when a button has the focus, pressing the Enter key performs the button's onAction
    On a Mac hit the Enter key in the same conditions does nothing.

    The behavior is the same? Can others recreate the issue?

    I don't mind opening a ticket, I just want to see if it is a 'feature' first

    planned on a MAC user behavior

    I had a Mac yesterday.

    OS X 8 buttons are triggered when they are targeted and you press space on them - for the JavaFX applications and similar system.

    The focus by default system behavior is that only text boxes and lists getting focus - buttons not developed at all. Enter fire, by default the button regardless of whether it is focused or not - for example OK for a message dialog box or open a file dialog box. Enter sometimes run another action (such as an editable name - similar to a slow double click icon in Windows). ESC performs a function cancel - for example, to get rid of a pop-up window which may or not have a cancel into it button. Symbol alt + f to open a file menu do not appear to work at all for the applications of the system as Safari - I didn't try for JavaFX. To access a menu item, you can press ctrl + fn + F2, then navigate around a keyboard with the arrow keys or by typing the first letter of a menu item, then press SPACEBAR to activate the menu to get a drop down, then navigate with the keyboard even more and finally press the SPACEBAR to activate the desired menu item. Virtually every element of menu in Safari seems to have a combination of the accelerator of the command key + another key, so maybe it's the way things are to do in the land of Mac. None of the standard system applications seem to have all applied to the button symbol.

    If you go to System Preferences | Keyboard | Keyboard shortcuts there is an option that says access to the full keyboard: all controls. This button can also be activated at any time in the system using ctrl + fn + f7 combination. Once the option is enabled, you can tab to a button for the focus. JavaFX does not respect this setting, you can tab to buttons and others not on the list and the controls of textfield in a JavaFX application at any time, regardless of the value of the full keyboard access.

  • I get an error. "reboot and select proper boot device or insert boot media in selected boot device and press a key" while using the hard drive.

    Replace drive hard hgst with seagate and when I replaced the hard drive from hgst orignial he says "reboot and select proper boot device or insert boot media in selected boot device and press a key" and when I tried to install OS it does not display the hard drives to install operating system.please help

    Hello

    Check your cable connections. If necessary check with the manufacturer of the motherboard System Support
    and Seagate Support.

    Make sure that settings/settings (BIOS/CMOS) often F2 that you start the computer is configured to start at
    on the CD/DVD first in the boot order.

    Seagate - Support
    http://www.Seagate.com/support/

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Satellite L500 - BSOD when you press FN key

    Upgrade to Windows 7, installed the last value Add Package and Flash memory card Support. Also made BIOS update. PVAT installs well, Flash card Support installs but causes the blue screen when the Fn key.

    Can someone please put a little clear on this, he leads me into the wall. and Toshiba dosent really seems to know what is happening on either

    Part: PSLJ3A-01R015

    Hello

    Where have you installed the VAP and flash memory card support utility?

    As far as I know the laptop belongs to the Australian series of Toshiba and you must use the Australian driver Toshiba page in order to get all the drivers for this series

    You said that you have upgraded to Windows 7
    Have you tried a clean install of too?
    Try this.

  • You can get key game using the id of product anywhere?

    Im trying to play Halo on my pc but I can't get online without the key in the back of the retail box. I have the disc and the product id, so is it possible to recover the key? Ive already looked in the registry and it isn't here.

    Hi atticus0425,

    We recommend that you contact Microsoft Customer Care for more support options.
    See Contact the Customer Service Microsoft and Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • White screen when you press ESC key

    Hello friends,

    In my application after making a call or see a map of thw I want to return to the previous screen... When I press ESC key for this action, I get a blank screen, then only the previous screen... Can someone tell me how to remove this white screen...

    Kind regards

    Lachkar

    I solved this problem by putting this code

    protected void onObscured() {}

    Close();

    }

  • Windows xp blue tooth detects the keyboard and the mouse, but immediately removes both

    Just installed windows xp and having trouble with the blu-tooth now the keyboard and mouse

    Hi Bruce,.

    1. What is the brand and model of your keyboard and bluetooth mouse?

    2. What Service Pack is installed on your computer?

    If you have Service Pack 2 installed on your computer, I suggest you to follow the steps from the link and check if it helps.

    How to troubleshoot Bluetooth detection and connectivity issues in Windows XP Service Pack 2

    To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/ )

    How to back up and restore the registry in Windows

  • Detect the first and last spark of list items

    Hello

    I have a converter item personalized with a background image for each item in a list. the thing is I'm trying to have a different background for the first and last elements (curved respectively) and I don't know how to do this.

    Any help will be appreciated.

    not sure it's the best solution, but:

    You can override the method to data defined in your itemRenderer. Compare the new data for the first and last items in your list. And you set the background depending on the result.

  • How can I detect the minimum and MAXIMUM values of the inputs to the NOR-Scope channels (NI-SMU-1073)?


    Hello Philippe,

    Take a look at the example below. Retrieves the Min and Max of table X and also correspondent has the value Y.

    Best regards

    Klas

  • Why you didn't help me with this problem of e-mail? I've repeatedly asked for help. You are forcing me to use google chrome and I would prefer to use firefox.

    I have contacted you several times. I can't read my email on firefox on this computer. I like firefox and don't like chrome and hate EP So can you help me? I restored to an earlier time and which has not helped. If you don't help me I'll have to take off my machine firefox. Not being is not able to read emails is a big problem on several levels. I won't continue to jump back between firefox and chrome. I had firefox for many years and nothing has changed except that I can read is no longer my email. I worked with my internet service and the people of my computer. It's a problem of firefox on this computer.

    Debi Neuman

    Edit: removed your email address from the public view, since the only thing that will attract are spambots. you will be notified by email whenever someone replies to the thread. (philipp)

    You can try the following steps in case of problems with web pages:

    Reload Web pages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.

Maybe you are looking for