Capturing 'Next' Key on Android Keyboard (Numeric Keypad)

// Expert user has replied.
B Bryn Cranswick 3 years ago
61 1 0

Hello,

I'm trying to capture the 'Next' key on the android numeric SIP but i'm having no luck.
It should be interpreted as a 'TAB' but nothing is firing on my listener:

    $('#TSimpleFieldInputTable').on('keydown', 'input[type=number]', function (event){
      console.log('on keydown:' + event.which);
    });

This logs every other button pressed on the sip 1-9, decimal etc... but nothing for the Next key.

When the SIP is opened from a type = 'text' input i'm able to capture the 'Go' as it's interpreted as an enter (keyCode === 13)

Has anyone else faced this issue?

I'm using RhoStudio 5.0.30, building for a TC55 with JellyBean using native_browser.

If this fails i'm going to have to scrap the default sip and make my own using jquery

Please register or login to post a reply

1 Replies

R Robert Galvin

Have you tried using the KeyCapture API: Rhomobile | KeyCapture

You can capture all and then inspect the KeyCode that is returned for the Next Key and then just look for that.

CONTACT
Can’t find what you’re looking for?