The virtual keyboard will prevent the display of gestures in some of the screens.

Hello

If peripheral BB10 function key a cheap shots left that the keyboard is displayed even if the screen has no control of editfield. How can I disable this behavior on some of the screen.

Same issue was discussed below thread, but there is one year and no solution:

https://supportforums.BlackBerry.com/T5/native-development/how-do-I-prevent-the-virtual-keyboard-fro...

A workaround that I have implemented is to listen BPS events:

Subscribe (virtualkeyboard_get_domain ());

then, virtualkeyboard_request_events (0);

and then, to catch keyboard events and hide the keyboard.

If (bps_event_get_domain (event) is virtualkeyboard_get_domain())
{
virtualkeyboard_hide();
}

This workaround works, but the problem is virtual keyboard appears to half way through and dismissed immd.

I want to completely disable the virtual keyboard to appear on the gesture on some of my screens.

is this possible? using something in the bar - descriptor.xml? or handling certain events in C++, QML?

Here is the configuration that I use:

SDK: 10.1

Feature: Z10 with software version 10.2

IDE: Momentics version 2.0

Thanks in advance.

I think the problem here is that gestures like this are handled by OS not by an application so you can not stop this behavior.

Tags: BlackBerry Developers

Similar Questions

  • Virtual keyboard continues to Transition

    Hello

    I implemented the transition between screens and it works fine normally. But when the virtual keyboard on the screen is activated, the transition fails to operate at all.

    This is particularly problematic when the new screen transfers the focus to an EditField since the virtual keyboard will be displayed automatically when the field receives focus. What can I do so that the edit field will initially receive the focus, the virtual keyboard will be hidden, and the virtual keyboard will be displayed if the user clicks it, or when the edit field receives focus (except when the screen is first shown)?

    Alex,

    Hello

    After more DIY, I found that by invoking the right to UiApplication.getUiApplication () .repaint () after that hide the virtual keyboard, it forces a repaint on the screen and the transition works again.

    Alex,

  • Virtual keyboard for blackBerry Smartphones

    No apparent reason, the virtual keyboard will notice appear when I text or email or anything like that! It was good until. I rebooted, checked the settings... What the devil? Very annoying.

    Any ideas?

    S

    Have you tried opening and closing your keyboard. Maybe some bad connection there.

  • After the upgrade to win10 does not show the virtual keyboard in the taskbar

    After the Win10 the virtual keyboard does not show in the taskbar when you use programs that require to connect and it does not appear iwhen attempt to use Word (version Office365). These programs are therefore unusable, unless it is a workaround.  Does anyone know how to solve this or a work around for it?

    Hello m875,.

    What 'Tablet' do you use?

    I improved my tablet of 8 flow and had no problems.

    If you go to settings > devices > typing, you can enable and disable certain functions of touchpad.

    The last two options on the bottom are disabled by default. Can you turn those on to see if this gives you what you need?

    (Automatically display the touch keyboard in glass mode apps...)

    Once, when I type a mailbox type, the keyboard will appear.

    Does that help? Let me know.

  • Virtual keyboard hides part of the change to the field

    Hello

    I have a labelfield, field change and a button that are centered aligned vertically. The three fields, I added in a Verticalfield Manager which is then added to a horizontal region Manager. And finally the HFM is added to an another value for money. Now in the 9800 device or curve 9380, I noticed that when I touch the edit field, virtual keyboard is coming. And he hides the field partially change.

    I want to move things to the top when the virtual keyboard appeared. How can I do. My code is here:

           HorizontalFieldManager hfm = new HorizontalFieldManager();
            VerticalFieldManager vfmComponent = new VerticalFieldManager(USE_ALL_WIDTH);
            vfmComponent.add(lfServerUrl);
            vfmComponent.add(mEfURL);
            vfmComponent.add(mBtnSave);
            hfm.add(vfmComponent);
            int topEmptySpace = (Display.getHeight() - (Bitmap.getBitmapResource(mStrTopBar).getHeight() + hfm.getPreferredHeight() + 25)) / 2;
            hfm.setMargin(topEmptySpace, 0, 0, 0);
            VerticalFieldManager vfmMain = new VerticalFieldManager(VERTICAL_SCROLL| NO_HORIZONTAL_SCROLL );
            vfmMain.add(hfm);
            add(vfmMain);
    

    Help, please.

    When you start to need as many managers to get the look you want, then you know that you should really create your own Manager.

    These two should help you to do:

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-extend-Manager/Ta-p/446749

    http://supportforums.BlackBerry.com/T5/Java-development/create-a-custom-layout-manager-for-a-screen/...

    For example, I hacked together a "centeringManager" and the screen, which should do what you want.  But please use this as a reference sample, understand what he does and maybe even improve it.

    In production code, I would really remove the centeredManager and centering Manager across all fields and place them, but then you must code a manager which includes margins, which would confuse the point of this example - as a basic implementation of a Manager.

    Hope it's what you want.

    public final class CenteringScreen extends MainScreen {
    
        /**
         * verticallyCenteringManager takes one Field and positions it
         * centered in the space it has.
         */
        VerticalFieldManager centeringManager = new VerticalFieldManager() {
            protected void sublayout(int maxWidth, int maxHeight) {
                if ( this.getFieldCount() > 1 ) {
                    throw new RuntimeException("Expecting only one Field or Manager to be added");
                }
                if ( this.getFieldCount() == 1 ) {
                    Field f = this.getField(0);
                    layoutChild(f, maxWidth, maxHeight);
                    int requiredTopMargin = (maxHeight - f.getHeight())/2;
                    int requiredLeftMargin = (maxWidth - f.getWidth())/2;
                    setPositionChild(f, requiredLeftMargin, requiredTopMargin);
                    setExtent(maxWidth, maxHeight);
                } else {
                    setExtent(0, 0);
                }
            }
        };
    
        /**
         * Fields added to centeredManager will be displayed 'centered' vertically
         * regardless of orientation of screen and presence or absence
         * of virtual keyboard
         */
        VerticalFieldManager centeredManager = new VerticalFieldManager(VerticalFieldManager.VERTICAL_SCROLL | VerticalFieldManager.VERTICAL_SCROLLBAR);
    
        // Sample Fields to be added
        ButtonField sampleButton = new ButtonField("Button", ButtonField.FIELD_HCENTER);
        LabelField sampleLabel = new LabelField("Label", LabelField.FIELD_HCENTER);
        BasicEditField sampleBef = new BasicEditField("Text", "", 255, BasicEditField.FIELD_HCENTER);
    
        public CenteringScreen() {        
    
            super(Manager.NO_VERTICAL_SCROLL); // very important
            // The NO_VERTICAL_SCROLL means that the only Manager added to this Screen - centeringManager -
            // will be given as its maxHeight, the available screen height, regardless of
            // orientation or whether there is a virtual keyboard displayed
    
            // add Fields to centeredManager
            centeredManager.add(sampleButton);
            centeredManager.add(sampleLabel);
            centeredManager.add(sampleBef);
            centeringManager.add(centeredManager);
            this.add(centeringManager);
    
        }
    
    }
    
  • Rotation of the screen with virtual keyboard.

    Hey all, I am porting a no touch to work in touch devices, but the screen rotation throws me some curves that I can't find a good solution for. I have an image for the background of a screen. In the method of paint background vertical field Manager that holds everything, I check the current resolution and to draw the image appropriate for the portrait to landscape mode. This works well, as long as the virtual keyboard is hidden. I bring up the keyboard (of, say, by clicking in a text field) and the background image does not change (i.e. going from portrait to landscape leaves me with a white bar on the right side of the screen), and the fields have the same width and page layouts. Any advice?

    Ah ha! Long story short, Display.getHeight () returns the height of the screen, but if the virtual keyboard is displayed, its height will not appear in the getHeight() value.  This was causing problems with my orientation detection code.

    The strange display behavior was a result of me being too careful.  I put 'default' in all of my instructions switch during the original no touch development, so that when I don't add different resolutions, he displayed a screen that would be small, but grave not down.  I did not detect a known resolution and continued to display the portrait mode, but only while the keyboard was visible.

  • Close the virtual keyboard

    Hello

    I am looking for a way to prevent the appearance of the virtual keyboard, when the user enters a textfied. Is this possible?

    Thank you!

    David

    It will be possible to AIR 2.6 (but currently not possible).

  • Firefox 25.0 disabled kaspersky virtual keyboard and money safe ect how do I change back to the previous version as fire fox tells you the end of the update

    Firefox 25.0 disabled kaspersky virtual keyboard and money safe ect how do I change back to the previous version as fire fox tells you towards the end of the update to the back Beach

    Hello Bretus,

    Please contact the Mozilla Support and I am sorry that this update is not compatible with the extensions you use.

    Kaspersky support forums mention that these extensions will be updated soon, so that they are compatible with FF25. In the meantime, we do not recommend that downgrade you your version of Firefox, but you can find instructions and download locations for previous versions here:

    Install an older version of Firefox

    Please let us know if this solves your problem.

    Cheers, Patrick

  • virtual keyboard in Kaspersky anti banner, Advisor of the url is not available as a plugin in firefox 12

    virtual keyboard in Kaspersky anti banner, Advisor of the url is not available as plugin in Mozilla Firefox 11, 12.

    The patch I have is ready, but I don't know why it's not out yet, you can check the status here

    wait a while... She will soon release...

  • How to link or to disable the button submit virtual keyboard in blackberry 10 webworks?

    Hi all

    I developed Blackberry 10 Web application using Ripple emulator and Blackberry Webworks SDK 1.0.4.11.In that I am faced with the question of the connection... While the virtual keyboard-click submit button... it will not validate the credentials and without validating it goes to the actual page... So, how to validate or disable the virual submit button 10. Please Blackberry keyboard me... Thanks in advance.

    Kind regards

    Marimuthu_P

    Hi Mc Donald,

    You are using a

    element in your application with a built-in element
  • hide the virtual keyboard hangs in Z10

    Hi, I'm porting android app to Z10.

    I use following code to hide the virtual keyboard in onCreate():

    =================================================

    InputMethodManager imm = (InputMethodManager) getSystemService (Context.INPUT_METHOD_SERVICE);  imm.hideSoftInputFromWindow (mainActivity.this.getCurrentFocus () .getWindowToken (), inputMethodManager.HIDE_NOT_ALWAYS);

    =============================================

    However, it always crashes in BB10.2.

    Can someone tell me how to hide the virtual keyboard?

    Thank you

    I finally found the problem:
    1 when I have something to edit entry, click on the button 'Next' in the virtual keyboard, it will focus on the button.
    2. when I click the button, the "mainActivity.this.getCurrentFocus ()" is return NULL. This caused the problem

    Thanks anyway.

  • How to customize the virtual keyboard?

    Hello

    I am looking for a way to customize the virtual keyboard. I want to customize keyboard and form location, places default keys in the keyboard for some specific languages, the keyboard, the size of the keyboard etc. However, the customization nearest you, I found on the API reference manual is to define the name of the Enter key and to use different layout of a set fixed (link). Construction of a new keyboard from scratch is not an option for me. And I want to use the default keyboard features (like pushing the key words of)

    How can I customize the virtual keyboard by default?

    A big no, no, you can't mess with the user of a BB keyboard! If you need a custom keyboard (let's say for a game), you will need to start over again.

  • Is not scrolling screen when the virtual keyboard is opened by clicking an edit field

    Hello

    I have searched and tried many things, but not got success.

    There are three managers of verticalfield in my screen.

    1.)

    vfmMain

    = new VerticalFieldManager(Manager.USE_ALL_WIDTH |) Manager.USE_ALL_HEIGHT | Manager.NO_VERTICAL_SCROLL) {}

    protected voidpaint (Graphics grphcs) {}

    if (imgBG! = null) {

    grphcs.drawBitmap (0, 0,

    imgBG.getWidth (), imgBG.getHeight (), imgBG, 0, 0);

    }

    Super.paint (grphcs);

    }

    protected void sublayout (int maxWidth, maxHeight int) {}

    maxWidth = UIConstants.

    SCREEN_WIDTH;

    maxHeight = UIConstants.

    SCREEN_HEIGHT;

    Super.sublayout (maxWidth, maxHeight);

    Super.setExtent (maxWidth, maxHeight);

    }

    };

    2.)

    vfmFieldNS

    = new VerticalFieldManager(Manager.USE_ALL_WIDTH |) Manager.USE_ALL_HEIGHT | NO_VERTICAL_SCROLL) {}

    protected voidpaint (Graphics grphcs) {}

    if (imgBGCoverInternetHome! = null) {

    grphcs.drawBitmap ((UIConstants.

    SCREEN_WIDTH - imgBGCoverInternetHome.getWidth () / 2, 0, imgBGCoverInternetHome.getWidth (), imgBGCoverInternetHome.getHeight (), imgBGCoverInternetHome, 0, 0);

    }

    Super.paint (grphcs);

    }

    protected void sublayout (int maxWidth, maxHeight int) {}

    maxWidth = UIConstants.

    SCREEN_WIDTH;

    maxHeight =

    imgBGCoverInternetHome.getHeight () / *-UIConstants.SCREEN_HEIGHT (UIConstants.LABEL_HEIGHT + UIConstants.FOOTER_MENU_HEIGHT) * /;

    Super.sublayout (maxWidth, maxHeight);

    Super.setExtent (maxWidth, maxHeight);

    }

    };

    3)

    vfmScroll

    = new VerticalFieldManager(USE_ALL_WIDTH |) USE_ALL_HEIGHT | VERTICAL_SCROLL) {}

    protected void sublayout (int maxWidth, maxHeight int) {}

    maxWidth = UIConstants.

    SCREEN_WIDTH;

    maxHeight =

    imgBGCoverInternetHome.getHeight () - imgButtonFocusBig.getHeight (/2/*UIConstants.SCREEN_HEIGHT - (UIConstants.LABEL_HEIGHT + (UIConstants.FOOTER_MENU_HEIGHT + VERTICAL_GAP))) * /;

    Super.sublayout (maxWidth, maxHeight);

    Super.setExtent (maxWidth, maxHeight);

    }

    };

    I'm addidng all fields in the Manager of scrolling that is vfmScroll.

    By clicking on the edit field, virtual keyboard opens on the screen, change the field leathers and screen does not scroll.

    Help, please.

    Thanks in advance.

    Thanks for the reply of Peter. Instead of UIConstants.SCREEN_HEIGHT, now I use Display.getHeight () - headerHeight-footerHeight. Given that Display.getHeight () is calculated accordingly when the virtual keyboard is open, so his works well for me.

  • How can I stop the virtual keyboard appear gestures?

    Hello

    How can I stop the virtual keyboard to appear coincidentally in my game? There is no reason for the player to use the keyboard for the game, so I want to disable it.

    My current solution is to wait for the NAVIGATOR_KEYBOARD_STATE with the NAVIGATOR_KEYBOARD_OPENING State and by calling virtualkeyboard_hide(). But which causes the keyboard to appear a few pixels down before disappearing again.

    Is there a way of elequent more disable the gesture of virtual keyboard?

    Thank you

    Claudine

    I'm afraid, is not possible. If BlackBerry Advisor does not fix me don't waste your time on this. If a user low blows to the left of the keyboard is displayed regardless of your application.

  • Convert physical PC-> virtual machine will not cancel the mouse capture

    Currently using VMWare workstation 8.05 on Win7 x 64.

    I am using since VMware workstation on version 6 with a few problems. All my machines have been created in workstation (installation of the OS, etc.).

    A few months ago, I had an another XP x 32 box which had a POWER failure, and I always wanted to virtualize this area anyway, so I hooked up a spare PSU and stand-alone client to vCenter Converter to convert. Unlike all my other VMs, that seamless capture and cancel the capture of the mouse, this virtual machine will come out only the mouse using Ctrl-Alt, otherwise the mouse stops at the border of the screen.

    I messed with the settings of the virtual machine (although nothing has really made a difference). I have set the floppy drive to automatically detect, I installed VMWare keyboard extended (or whatever it's called) and uninstalled the mouse drivers that were on the machine (did not find records containing these drivers, just them uninstalled from properies of mouse window).

    I would really, really like to get this virtual machine works like the others, as I use it often and my productivity would go up if I didn't have to do deal with this mouse cancel the capture of question.

    Thanks for any help!

    Keith

    Since the Department of totally random ideas: your converted VM by chance he mouse "pointer trails" enabled?  If so, try disabling this option.  We had some users report that the activation of this option somehow the cause of the problem you are experiencing.  Thanks to rob_oli to describe this solution (and providing a screenshot too) in this post.

    See you soon,.

    --

    Darius

Maybe you are looking for