Equivalent to Canvas.getKeyCode without using a canvas

I need to get the key codes that correspond to the different actions on a game device.  This information is available from the method getKeyCode() of the Canvas class.  I would like to be able to get this information without the help of canvas.  The method is not static, so I really need a Canvas object, but I can't build the object (IllegalStateException) because I do not have an instance of application at construction time.

Any ideas?

These values are only available within the Canvas class.  I sent this feedback to our product management team (to add these constants to the character class).

Tags: BlackBerry Developers

Similar Questions

  • How can I access Siri on my iMac without using the icon?

    How can I access Siri on my iMac without using the icon?  Can I say "Hey Siri"?

    There is no option "Hey Siri" on a Mac because they do not have the necessary pickups. You must use the icon in the menu bar or Dock.

  • Can I use Apple pay without using my fingerprints?

    I have an iphone 6 and I want to use Apple pay but there seems to be a way to get Apple to pay without using

    the fingerprint.  Is it possible to use Apple pay with an only access code?

    No, you must have active Touch ID. Is there a reason you won't do?

  • Can I get the contacts and email from an old record without using the Migration Wizard?

    Can I recover Contacts and messaging of an old record without using the Migration Wizard? Disc of the user in question has been very corrupted with several programs having a weird behavior. Migration wizard migrated corrupt files, so, even a clean install with only migrated users gave rise to an unusable installation.

    I have now all own installed now, but need old email files and contacts. How can I transfer this information a copy of the old/bad drive and only this info?

    Yes. With the old drive mounted and available, open Mail and choose import mailboxes... from the file menu of mail. In the dialog box import data from , choose Apple Mail.

    Navigate to the Mail folder to the user of the old library drive. According to the version of courier used, you might see folders named V2 and / or V3. Choose the applicable folder, and then click Choose.

  • How can I transfer photos from my iPod touch 6th generation for my macbook pro WITHOUT using iCloud, please? It's simple with another camera but not the case, it seems, for the Apple iPod

    How can I transfer photos from my iPod touch 6th generation for my macbook pro WITHOUT using iCloud, please? It's simple with another camera but not the case, it seems, for the iPod Touch from Apple.

    Use import option from your Mac:

    Import photos and videos from your iPhone, iPad or iPod touch - Apple Support

  • How can I get through forms without using my mouse?

    On a form web (as a survey), I used to be able to tab on the 'submit' button, press ENTER, and submit the page. Who stopped working some time over 2 months, probably with an update of Firefox.

    I need to have people to do a series of short surveys, a typed RESPONSE per page. (They must be structured in this way for a moment that we do). Previously, people could type in their response, to 'other' tab and press return, which would load the next page. This seems to have stopped working, and I can't find a way to access the next page without using the mouse. Back and forth between typing and clicking on are super annoying and slow people down, by our much less precise time measurements. How can I return this feature?

    Seems to work for me. I did this quick form with Google Drive: https://docs.google.com/forms/d/1b493Op_imKXg8Q_GNMmRquuvCutZzyQ0RuQbgKRPD6A/viewform?usp=send_form
    Can you give an example of this form does not work?

  • email from iCloud without using the iCloud

    I just created a new iCloud email address.  However, I prefer not to use the iCloud to download the messages.  When I disable "Mail" in the preferences system - iCloud, my new mail mailbox goes.  I saw this page: iCloud: server for e-mail clients - Apple support settings and suspect that the answer may lie in configure server settings of mail by hand (email - preferences - accounts).  It is the right approach, or is there another way?  I am running Yosemite on an iMac.  Thank you!

    You can explain further. What makes you think that it is possible to use iCloud email address without using iCloud?

  • Disable the download of files in version 3.0.8 without using an add-on

    I need to be able to prevent a user to save a file under version 3.0.8 without using an add-on. Any help would be greatly appreciated.

    So I corrected myself. That I did change the mimeTypes.rdf file to try to open the types of documents to let with/bin/rm (essentially would work with anything really.) so that it doesn't encourage them to download.

  • Hello, my phone pulled from my class at school and it has no data on it, so I did not no how to locate without using find my iphone is there another way I could find as soon as possible

    Hello, my phone pulled from my class at school and it has no data on it, so I did not no how to locate without using find my iphone is there another way I could find as soon as possible

    Go to iCloud.com

    Then sign in with your Apple ID and password, then click the Find iPhone.

    If this does not help, see: If find my iPhone is not activated on your missing device > what to do if your iOS device is lost or stolen

  • No start page, Google rises and there is no way out without using the Task Manager.

    I used to get the Google search engine at the start of Firefox, with bookmarks bar in side bars and tool at the top. Now, all I get is a Google search page, with a few buttons on the top like images, etc. There is no way to close the program without using the Task Manager. I downloaded the latest version of Firefox and installed, but the problem has not disappeared. Operating system is Windows XP Professional

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Ctrl + Shift + F).

    It is possible that the screen is too wide or too high and bars scrolling down.

    • Use Restore or expand in the context menu of the taskbar icon to set the focus to the Firefox application if you do not see the window of Firefox.
    • Open the system menu of the window of Firefox via Alt + space and see if you can move and resize the window (use the arrows on the keyboard).

    If it works, then first close all other open windows of Firefox and then close Firefox via "file > exit/Quit" to save the setting.

    If the above didn't help then see:

  • Re: How to get Corel WinDVD without using the recovery disk?

    The update for Corel WinDVD was rather messy and because of this some owners laptop uninstalled to try to install the new software. Now, we ended up with the only possibility of an image recovery, which, in practice, means losing the software.

    Updates for the Bluetooth and wifi are also pretty messy.
    Is isn´t possible to get this software back without using the recovery disk?

    As you probably know recovery image installed on Toshiba laptops is a kind of software that includes the operating system, drivers, tools specific to Toshiba and utilities but also some additional software like antivirus or DVD player application.

    All drivers and Toshiba tools and utilities are available on the Toshiba download page, and if you want to install the version of the OS, you can download each of them.
    This additional software is not available for download. It's a kind of gift on the owner of the laptop because as the new owner, your machine must be ready to employment with full protection and opportunities to use multimedia content.

    If you don't like it, you can remove the system and use your own applications.

    Summary: this software cannot be downloaded separately and if you want to have it again, you must install original image of recovery designed for your machine.

    If you have any other questions do not hesitate to ask.

  • When I connect my Ipad or Iphone to my computer via a USB cable, I can open the storage folder without using a password. How can I avoid someone else do the same?

    When I connect my Ipad or Iphone to my computer via a USB cable, I can open the storage folder without using a password. How can I avoid someone else do the same?

    This storage folder are you referring? If you are referring to the film, what happens because you have accepted a trust between the iOS device and the computer. If the device has been connected to another computer, it must be unlocked and establish a relationship of trust as well. If you are referring to something different, please explain.

  • How can I register my product without using the online process?

    How can I register my product without using the online process?

    He scored finally got.

  • Burning a cd to play on a cd player without using the burner of the wave

    I would like to know if anyone has the issue of burning a cd to play on a cd player without using the burner of the wave.  I have a situation where I wave recorder on a logic 9 Studio Pro disc but I don't want to install it.  I wonder to install any element, because it can cause problems.  I prefer to bounce from the finder, but when I do the cd will not play on a cd only through the computer player.

    Bounce your songs out of logic.

    Make a playlist in iTunes for the songs.

    Burn the playlist to CD.

  • My iPhone 5 s a problem that the accusation itself decreases without using the phone, I changed the battery it is always the same and I put it in airplane mode it's always the same problem how to solve this help please?

    problem iPhone 5s load is reduced to

    My iPhone 5 s a problem that the accusation itself decreases without using the phone, I changed the battery it is always the same and I put it in airplane mode it's always the same problem how to solve this help please?

    Please help me anyone

Maybe you are looking for