Storm of UI layout - space keyboard even if it is hidden

Hi all

I developed a style of puzzle game where the user interface is composed entirely of buttons in horizontal frames.  Works very well on the curve of Blackberry and other devices.  Initial tests on the storm yielded dismal results (as usual)...  The keyboard appears by default, who has absolutely no sense, as there is no input on the entire user interface, a few buttons fields.  So, I tried to hide the keyboard in the constructor - did not work.  Did a bit of research on this forum and decided to try to hide a method of onUIEngineAttached of the screen:

protected void onUiEngineAttached(boolean attached)
{
    getVirtualKeyboard().setVisibility(VirtualKeyboard.HIDE_FORCE);
    super.onUiEngineAttached(attached);
}

It worked to hide the keyboard.  But when you push the menu button, the keyboard is displayed again.  This is a problem.  There is also another question.  Now the user interface is designed as if it reserves space for the now hidden keyboard.  Thus, in order to try to solve it, I placed the layout of UI components in this method of onUIEngineAttached after that the keyboard is hidden - always the same result.

Here is the code I use to draw the screen:

    private CustomDrawnButton[][] buttons = new CustomDrawnButton[4][4];
private String[] captions =
    {
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10",
        "11",
        "12",
        "13",
        "14",
        "15",
        "",
    };
    private int screenW = Graphics.getScreenWidth();
    private int screenH = Graphics.getScreenHeight();
    private int buttonWidth = (int) (screenW / 4);
    private int buttonHeight = (int) (screenH / 4);
        String[] selArray = captions;
        int ctr = 0;
        for (int i = 0; i < 4; i++)
        {
            for (int j = 0; j < 4; j++)
            {
                int index = MathLib.randomInt(0, selArray.length - 1);
                buttons[i][j] = new CustomDrawnButton(selArray[index],
                    buttonWidth, buttonHeight, ButtonField.CONSUME_CLICK);
                buttons[i][j].setFocusColor(prefs.getFocusColor());
                buttonsArray[ctr++] = buttons[i][j];
                buttons[i][j].setChangeListener(listener);
                if ("".equals(selArray[index]))
                {
                    currentTarget = buttons[i][j];
                    targetRow = i;
                    targetCol = j;
                }
                selArray = removePosition(selArray, index);
            }
        }
        for (int i = 0; i < 4; i++)
        {
            HorizontalFieldManager row = new HorizontalFieldManager();
            for (int j = 0; j < 4; j++)
            {
                row.add(buttons[i][j]);
            }
            add(row);
        }

The question is how I set up so that when the main screen of this application, the keyboard is never displayed and no space is reserved for it?  I have a preferences will need the keyboard screen.

I use jde 4.7.0 and Simulator 4.7.0.148 (9530-Verizon).

Thank you

Steve

Thank you javiergv.  Unfortunately, using:

RIM-TouchCompatibilityMode: false
RIM-TouchCompatibilityMode-UserChangeable: true

Didn't work, but I found another post that said to use this:

RIM-TouchCompatibilityMode: 0
RIM-TouchCompatibilityMode-UserChangeable: 1

And that worked!

Tags: BlackBerry Developers

Similar Questions

  • Tecra A11 - space keyboard key issue

    Just wonder, if someone with an A11 has similar problems or my keyboard needs to be replaced.

    When I type, very often the space key is not accepted. Very annoying when you type without looking at the text of all time.

    Hello

    I m not Tecra A11 owner but on my other laptops Toshiba, I have never had a problem with the keyboard. Each key will be recognized properly if I press on it.

    I guess than your Tecra A11 is fairly new so it of still under warranty. Please contact the nearest authorized service provider. Guys can replace the keyboard because there is no unique key.
    But don t you worry not about it, it is covered by the warranty. :)

  • How do I change the layout of keyboard characters

    Welcome.

    Some time ago I used a Windows system on the MacBook computer, but I want to switch completely to OSX.
    When I play League of Legends in the game I need letter a but under ALT + has its only.

    I'm Polish and I don't have MacBook or other laptop with digital keyboard so I can't use ALT + number.
    Polish keyboard don't have, have ą, so I change the keyboard to the United States in windows, where was this letter/character.

    I can't hold one, because LoL have own interface, what can I do to change the layout to have a under ALT + A?

    You can try ukulele

    http://scripts.SIL.org/CMS/scripts/page.php?Site_ID=NRSI&ID=ukelele

  • Impossible to type a few letters on the keyboard, even using several keyboards.

    Original title: G and H stickin,-this happens when I use you wireless but also laptop keyboard you

    It is a sample of wat appens wen I'm tryin to type. Started with the problem n bein you - I ran restoration and after awhile tat went and H (upper and lower case) become problem. Now G participated! Am ready to cuck laptop out the window! Spell checker does not always pick up missin letters cannot be used for work or even for the emails of the doin.

    Hello

    1. What is the number of brand and model of the laptop?
    2. are you having the problem with the keyboard while using applications or with a particular application?
    3. were there any changes made on the computer before this problem?

    Method 1:
    Check the link and try to run the Troubleshooter:
    Open the hardware and devices Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2:
    If the problem persists I suggest to start the computer in Mode safe mode with network and check whether you are faced with the same question. If the problem does not occur in Mode safe mode with networking you perform the clean boot to find what service or startup item is causing the problem.

    Step 1:
    Start the computer using safe mode with networking.

    (a) remove all floppy disks, CDs and DVDs from your computer, and then restart your computer.

    (b) If your computer has a single operating system installed, press and hold the F8 key as your computer restarts.

    (c) you must press F8 before the Windows logo appears.

    (d) if the Windows logo appears, you need to try again by waiting until the Windows logon prompt appears, and then stop and restart your computer.

    (e) on the screen Advanced Startup Options , use the arrow keys to select the desired mode safe mode with networking option and press enter.

    (f) sign in your computer with a user account with administrator rights.

    Reference: http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    Step 2:
    If the issue happen not in Mode safe mode with networking, try to set up your computer in a clean boot state and check to see if the same problem happens.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Method 3:
    I suggest you to use the keyboard on the screen and check if it works. You can check the links
    http://Windows.Microsoft.com/en-us/Windows7/type-without-using-the-keyboard-on-screen-keyboard

    If you are able to type on the keyboard screen I would contact the manufacturer of your laptop for extra support.

    I hope this information helps!

  • Anyone know how to space objects evenly...

    Hi all:

    I have uniformly to the numbers of space on a page as a form of the grid and I want to take all the numbers I have on the page and separate them with 1/4 "or more. How can I do this with spend them all my time on the rule of counting?

    Y at - it shaped a way to put my numbers on a grid automatically or something?

    Thanks for any help or advice on this subject,

    Paul

    Paul,

    The difficulty lies in the fact that you can select only one object as the key object, and therefore, you will need to distribute each row (or column) by itself. If you select all the objects and then select one of them and make distributions, you will see that Undo is your friend.

    Therefore the alignment followed by several distributions as suggested in post #5:

    (1) align horizontally numbers more left in all lines (Horizontal alignment to Center (or other) and distribute vertically, in two cases, using one as the object key;)

    (2) distribute each line separately, using the one on the left as the key object.

  • Keyboard T30... other hidden characters appear

    Hello

    All of a sudden pressing the characters on my keyboard, it seems that others appear.

    For example, the symbol of the letter J , (double 1 hidden), I can't the symbol J but '1' in return

    Also on the symbol K (double 2 hidden), I get the '2' in return

    There must be a key that eliminates this function restores the keyboard to its initial

    Stadium...

    : smileyindifferent

    I found the solution to my previous query after watching lenovo support and downloads - troubleshooting

    keyboard problems - Thinkpad (http://www-307.ibm.com/pc/support)

    For Microsoft Windows NT and 2000, the NumLock setting can be enabled at a time. To Remove this setting

    1. opening of the session on the account (if already inside the account, do not take into account 1)

    2 Pres and hold down the SHIFT key press the NumLock key to turn off the setting

    3. press Ctrl - Alt - Delete simultaneously to disconnect.  Next timeyou newspaper in, the keyboard should work fine

    See you soon,.

    ARIS

  • Retina pro MacBook keyboard 2014

    Hello. face here... such a problem when you use the keyboard does not touch delete in other words, if you made a spelling error I can't delete the drive using Delete letter.

    Hello mamuka78,

    Thank you for using communities of Apple Support.

    I understand that the delete key does not work on your Mac.  Please follow the steps below to see if it is even recognized by the system:

    If the other keys do not work

    You may have accidentally set an option that changes your keyboard works.

    Choose the Apple menu > System Preferences, click Dictation and speech, and then click Text to Speech. If "Text Speak selected when you press the button" is selected, deselect it or click on change the key to another key.

    Choose the Apple menu > System Preferences, click Accessibility, and then click keyboard. Make sure that slow keys is turned off. If slow keys is enabled, you will need to keep a key longer than usually before it is recognized.

    Choose the Apple menu > System Preferences, click Accessibility, and then click mouse and Trackpad. Make sure that the mouse keys is turned off. If the mouse keys is enabled, pressing the keys in the numeric keypad moves the pointer instead of entering the numbers.

    Choose the Apple menu > System Preferences, click keyboard, and then click input methods. Select "Show the menu in the menu bar." Open the menu entry, then make sure that the correct keyboard layout is selected.

    To display the keyboard layout, click keyboard, and then click "See the Emoji keyboard and viewers of symbols in the menu bar."

    OS X El Capitan: If your keyboard does not work

    Take care.

  • Lenovo B590 - Arabic keyboard

    Good evening

    New here, not really a Lenovo customer but both my parents are. The thing is, both of them use the Arabic language, many being their native language and all but their laptops English/Greek. I just want to know if and how I can order replacement in English/ARABIC keyboards. My father uses the on-screen keyboard to type in Arabic and it kind of regret to see.

    I got lost in the Lenovo support pages so I ask you for a redirect link, phone number, all which can help. I live in Greece now, I can do the replacement myself. Yet once again, I need an Arabic keyboard for B590 model...

    I am eager to help here, I will appreciate any useful responses.

    Thank you.

    just found this on ebay. should work but to confirm, contact the seller first.

    http://www.eBay.com/ITM/Arabic-layout-genuine-keyboard-for-Lenovo-B570-G570-series-/271207880987?PT=...

    the alternative is to use an Arabic external keyboard if you do not find. In addition, you can change the keyboard on windows and put stickers on keys as an alternative.

    I hope one of them helps.

    Edit "typo".

  • Upgrade memory EliteBook 2760p - removal of keyboard problems

    My 2760 p came with 4 GB, and I have now bought 2 x 8 GB to take up to 16 GB.

    The existing RAM is in the secondary area of RAM (under the keyboard) with another (primary) RAM location empty available under the basic sercie coverage.

    Use of the service manual (c03011611.pdf or part no.641800 - 002) I tried to follow the instructions, which are essentially:

    -remove the battery, service coverage

    -remove the 2 plugs screw (which do not actually appear to exist on the model recently bought) and unscrew the 5 captive screws

    At the above, no problem, but the questions come when you try to remove the keyboard. The instructions are:

    "

    Insert a flat tool under the edge rear (1) of the keyboard near the hinge of the screen. Carefully lift the rear edge of the keyboard (2) and disconnect the keyboard. »

    Questions are: has) unless I'm trying to plug in the wrong place (think so much - summer probe 20 minutes now) there is virtually no gap to insert any flat tool - I mean "virtually no space" I even tried under the knife of a surgeon...

    and (B) I thought that I would try to return the unit and shake gently to allow I hope the keyboard let go to drop a small amount - but the keyboard does not seem to move.

    Question - are those still running instructions and correct?  and if so, what exactly is the thing down the keyboard without destroying them?

    Thank you

    PS Guys HP - photos of some of your books are not great quality (too dark) and have also been downsampled so remove detail key. Really, I'm not afraid download a 20 MB PDF manual if it makes things clearer.

    Access your model as seen in the screenshot.

    http://h20574.www2.HP.com/default.htm?lang=en&cc=us&hpappid=psml

    Make sure that you are connected to the instance before you click on the media library.

    Give the time for the video to load and when there, click on "Keyboard" in the left column.

    Manuals can become obsolete as new models and features are introduced. HP is really bad for not their update, this applies to their drivers as well.

  • Keyboard Windows 7 Japanese IME

    Hello

    When you use Microsoft IME for input in Japanese IME by default Japanese keyboard even if I use a UK keyboard.

    For example the @ and "are bad round.

    I know that other keyboards can be chosen under the Japanese language however choose something else that Microsoft IME translates the impossibility of Japanese input.

    So... the EMI must be used.  How the layout can be changed in Microsoft IME?

    This problem existed in Vista and XP.  In fact, the last time I remember being able to use a keyboard on a Japanes EMI UK was Windows 98!  All the same so it was somewhat a solution are wrong to operate.

    Any ideas?  :-)

    Hello

    I recently move to Windows 7. I tried the above solution but it fixed is not the issue. My Japanese keyboard Sony Notebook still have the @ on the wrong key. Any other suggestions?

    TOPFORM,

    Can you check something: Start > Accessories > easy access > on-screen keyboard (it will show keyboard on your screen) > click on it shift and see what character will be highlighted more than 2, is [@] or perhaps ["]?

    ...

    Other things. I understand that you have installed the two layouts for the Japanese: Japanese and EMI. Alternatively, you can try to add the English keyboard and see how it will behave: Start > Control Panel > clock, language and region > Change keyboards or other input methods > Change keyboards... button > Add... button > expand English (United States) > expand keyboards > check United States International > OK > OK . Now try to open Notepad, select EN from the language bar on the taskbar and try to write [@] with an English keyboard

    ...

    I also have the question. It's a Windows 7 preinstalled. It is possible that you have an application running in the background that can change the character you're trying to type?

  • hide the keyboard to 9500

    Hello

    In 9500 storm my demand shows keyboard, even I try with force to hide.

    Can anyone suggest me how I can do?

    My menu also don't shoe leather keyboard option?

    Ajay Singapore

    The application shows a blue border around the screen?

    If so, you're "stuck" in compatibility mode.  This occurs when a version of the app (not compiled under 4.7) isloaded, but later replaced with a version that was compiled under 4.7,.

    Yet once, go to Options / Advanced / Applications and disable the compatibility mode for this application.

  • BlackBerry Smartphones Blackberry Media Sync continues to display 'Please connect a Blackberry smart phone' when the Blackberry Storm is connected to the PC

    About a 2 months ago when I would like to connect my (the first storm) blackberry storm to my computer via the USB cable supplied with the phone, I was able to transfer music from my computer (itunes) to the blackberry via Blackberry Media Sync with no problems (open Blackberry Media Sync, connect blackberry to the computer via the USB port and screen Media Sync would change so that I could sync to the blackberry storm music). I didn't even have to install Blackberry Media Sync in December 2009

    But now after I connect my Blackberry Storm to my computer, the screen of Blackberry Media Sync does not change and continues to display "please connect a Blackberry smartphone. I tried these tips I found online:

    1.) several reboots my computer (windows vista)

    2.) update/reinstall Blackberry Media Sync, then by restarting my computer

    3.) reconnection from blackberry to the computer, then open Media Sync

    4.) Open Media Sync first and then connect the blackberry to the computer.

    5.) installation BlackBerry USB and Modem drivers (even if I can't find the USB driver for it under the Universal Serial Bus Controller when I check in the Device Manager when you go to control panel – system and Maintenance – Manager of devices, but I found a v2 COM4 and COM5 RIM virtual serial Port when you select "devices by connection" under display in Device Manager) or are RIM Serial Port virtual v2 COM4 and COM5 drivers I'm looking for?

    6.) go to Options (on blackberry) - memory and make sure Media Card Support, Media Transfer Protocol (MTO) and Mass Storage Mode Support are resolved on 'On', the encryption Mode is set to 'None' and mass storage Mode Auto activate when connected, it the value "Prompt" although I tried to 'Yes' as well. It says I have 785 MB of memory space of the unit out of 879 MB total memory of the device and 7.1 GB of free space on a total of 7.3 GB of Media Card Media Card.

    None of the above tips and troubleshooting tips worked. I also checked the Blackberry technical solution center but I've not found anything there that has contributed to the other. I found discussions forums online, including issues of people with 'blackberry media sync cannot connect to the device' pop up, but I have not had this pop-up. The Media Sync screen remains just the same as if I never connected the blackberry storm to my computer in the first place even if my blackberry storm recharges via the computer.

    Is there something that I miss or have not yet done? What should I do?

    Too bad. I went to a Verizon store and they me remove the battery and turn the blackberry. Worked like a charm and I can now use Media Sync.

    Also told me that I need to update the software of the phone blackberry using Blackberry Desktop software (I have version 4 and need to update to 5) and make sure to choose to back up files when you are prompted during the update or you will lose all files, the media and info saved on blackberry.

  • on-screen keyboard automatically appears when you edit Word documents on touchscreens - really annoying!

    Hello, I just write my feelings because I really hope that Windows 8 will succeed, but it is disappointing at some point in terms of user experience. I apologize if my word is a bit harsh (since this is a forum for Microsoft), but I hope to see this problem resolved to do. I just get pissed off and frustrated on a simple function that could greatly improve the user experience, but isn't here.

    It's Windows 8 does not pass to laptop mode (i.e. turn off the on-screen keyboard) automatically when it is docked/connected with the keyboard. This totally screw up the initiative of Windows 8 is a flawless, all around solution.

    It is a serious problem for the 8 touch screen windows convertibles. Although I don't know who to blame, Microsoft or OEM. Microsoft being more responsible on the software side, I think that Microsoft should fix this. It is both a problem of Windows 8 and a problem of office or Microsoft even secretly to optimize the software for their own hardware to compete with manufacturers, which I'll explain below. I have a RT Surface and an Asus enrich your life, so I know clearly how Surface has an advantage on its same family competing software wise. These hybrid computers usually have a keyboard dock. When the keyboard dock is connected, the computer must have the ability to automatically disable the screen keyboard on. The usual scenario is when I work with a Word document on my keyboard dock, I use my hand to select text and insert the cursor (which is the thing to do if you have a touch screen). But unfortunately on hybrid OEM, Word appears the keyboard screen on every time I touch the text box, which not only blocks my view but also shifts my text view (taking into account the space for the touch keyboard). But this does not happen on the Surface! Makes you wonder what game is playing on Microsoft's OEM partners. We can say that it is Asus responsibility to add this feature. But shouldn't Microsoft do this universal of the functionality and benefits the entire ecosystem? Especially in this case MS designs software and they can't be cela an advantage over their own material. It is particularly bad experience on OEM hybrids (seen on ThinkPad tablet 2, Samsung ATIV Smart PC, Asus enrich your life,...). I've seen many users complain about this on the Internet with their computer of tactile hybrid of Windows 8 (you can search this forum for similar complaints). The only available for OEM hybrid solution is to disable services touch keyboard and writing, which is stupid and laborious. PowerPoint has also that annoying problem of pop-up auto keypad. I do not understand how Windows 8 will be successful if Microsoft plays this unfair game to its partners. (I hope not, but MS seem to care)

    It is a problem of Windows 8 (except the Surface) because it does not automatically neutralize on whenever screen keyboard that an external keyboard is plugged. If the computer is still in tablet mode, even if it is converted into a laptop, which is laughable, given that Windows 8 is supposed to pass without fault between two modes. The fact that I have to manually stop the service of keyboard on screen (which requires administrative privileges) to switch the mode is particularly annoying.

    It is a problem of office because it is on the Windows desktop, the only way to trigger the screen keyboard on is to touch the icon in the taskbar keyboard, even if you touch the area such as Notepad or address bar in Explorer text editing. This is logical since people will use the mouse and keyboard to work on traditional workstations. However, the only exception is the office, that triggers the keyboard screen on every time you touch a text edit box. Do not ask me to switch the touch mode and mode mouse in the office - no difference. The keyboard is displayed. When you change a word document and need to go through the pain of imagery seen the keyboard popping up every time when you select a word or insert a cursor!

    It is a problem with Microsoft because Microsoft has an advantage over OEMS in the configuration of their software to give the best user experience. But their own material does not respect promises. I am pleased that OEMS have developed options better, but disappointed about how MS software a secrete advantage on their own material (Surface).

    There may be a solution I don't know. I would be very happy if someone can shed some light on me.

    Hello

    This is due to the on-screen keyboard is enabled.

    Close the keyboard on the screen, Tablet PC components box (Windows 7/8) in Windows and the features.

    Go to control panel > accessibility > use the computer without a mouse or
    keyboard > uncheck the on screen keyboard

    > starts when you load Windows by disabling "use on-screen Keyboard.

    > box on the page "Use the computer without a mouse or keyboard" in the

    > Ease of access Center. (Open the Control Panel, click ease of access, click on)

    > Ease of access Center, and then click on the computer without a mouse or
    (> keyboard.)

  • Page layout is changed when printing from the internet

    When I print from the internet, the page layout is changed even if there is space on the paper to print an entire line, say photos and captions.  Also, it shows in preview print and happens when I print from two different computers.  My option is sent to "keep the page layout.

    Hi Trishpm

    I have the same problem when printing via wirelss network attachment that I print not print the same way, have you managed to solve the problem?

  • Keyboard wireless charger

    When I bought my new iMac, I a (wireless keyboard) and included wireless mouse package. I do not use the wireless keyboard (that I bought another keyboard). Can I resell the wireless keyboard even if I still need the charger? (The charger charge the keyboard and mouse).

    The new owner would be able to easily pick up a new charger to go with the wireless keyboard?

    Sure. The keyboard can use any adapter of lightning current.

Maybe you are looking for

  • Visual Glitch, probably because of multiple monitors

    Thunderbird is not to maximize the application correctly. What happens on two different machines. My machine is running Windows 7 64 bit SP1. You can see on the screenshot filter buttons and the message are cropped and emails are cropped. If I double

  • Missing password?

    So basically I removed access to one of my devices that was connected to my gmail account and when I went my emails on my iphone and then my gmails I went to refresh it says lack of password, does that mean? Of course I know ive rmoved access to this

  • Need help to install Windows 7 on Satellite A300-1GC

    I am planing you install Windows 7 on my laptop Toshiba A300-1GC.I went on the thin link:http://EU.computers.Toshiba-Europe.com/innovation/windows7_drivers.jsp? but I can see only 9 pilots (and allmost are patch) So I don't know if this is why I stil

  • Virtual disk expansion

    I've added four new hard drives at 8 on my ax100 and configured ' DISK POOL 1, include 11 records. A drive is configured as a hot spare. Then, I have expanded the "Virtual Disk 1' to include all the"POOL1 DISC' again. I was expecting the SAN will app

  • To the touch screen isn´t blackBerry smartphones work properly

    Hi guys My Blackberry Torch 9800 mom´s (carrier is Claro Brasil and the operating system is updated to 6.0 Bundle 2647) isn´t works correctly.  Sometimes the touch screen work doesn´t and is sometimes works but not in a perfect way. When I try to typ