0

TextEntryButton - Remote Number Keys Support

Hi,

I have a text entry control to enter numeric values. Below is the code snippet I use.

CODEBOX
              this.controls.phoneEntry = new KONtx.control.TextEntryButton({
label: 'Enter the 10-Digit Phone Number: ',
styles: $hsnWidget.styles['sidebar_phone_entry'],
keyboard: {
layout: 'pinentry',
controlSize: 'standard',
maxLength: 10,
},
events: {
onSubmit: function(event) {
phoneNumber = event.payload.value;
}
}
}).appendTo(this);


It works pretty fine as it shows up a virtual numeric keypad. But, when I try to use the remote's number keys instead of the on-screen virtual keypad, I get the TV channel being changed. Is it possible to restrict/block channel change and use remote number keys instead of on-screen virtual keyboard to enter numbers in textentry control?

Any ideas/suggestions would be highly appreciated.

Thanks,
Param

by
5 Replies
  • What OEM are you on?
    0
  • QUOTE (WidgetRealm @ Feb 10 2011, 08:14 AM) <{POST_SNAPBACK}>
    What OEM are you on?

    Good question. It's up to the OEM. You can't rely on this being cross-platform.
    0
  • QUOTE (Benjamin Toll @ Feb 11 2011, 02:00 PM) <{POST_SNAPBACK}>
    Good question. It's up to the OEM. You can't rely on this being cross-platform.

    Really...? This cannot be relied on across the OEMs?

    Is there a list of who does and does not support it? :b
    0
  • QUOTE (WidgetRealm @ Feb 10 2011, 08:14 AM) <{POST_SNAPBACK}>
    What OEM are you on?


    I'm on LG TV. Please let me know if this OEM supports as desired. Thanks.
    0
  • I'll do some tests as soon as I can and post back with the results.
    0

Recent Posts

in Design / Interaction - Yahoo! TV Widgets