Page 1 of 1

Code samples for on built keyboard

PostPosted: Mon Sep 16, 2013 4:18 am
by priya
I am creating the app for LG and panasonic. In my app i want to use the keyboard. Right now i am testing my app in the virtual box. I added the code from the samples but it is not showing anything. How can i test in the emulator. How to use the built in keyboard and on screen keyboard. Can anyone help me in this. I am new to this app development.

Code samples for on built keyboard

PostPosted: Mon Sep 16, 2013 4:18 am
by priya
I am creating the app for LG and panasonic. In my app i want to use the keyboard. Right now i am testing my app in the virtual box. I added the code from the samples but it is not showing anything. How can i test in the emulator. How to use the built in keyboard and on screen keyboard. Can anyone help me in this. I am new to this app development.

Re: Code samples for on built keyboard

PostPosted: Mon Sep 16, 2013 4:18 am
by Support_STA
Hello,

The keyboard example code is designed to run on an actual LG TV. Therefore it does not run in the emulator. To get it to run all you have to do is include the following in the head of your page:




If you run this code on an LG TV it will take care of loading the other scripts and set up the on-screen keyboard for each input element that is clicked.

For the built-in device keyboard you do not need to implement anything specific. Just use regular input elements. The emulator will not show a keyboard on screen, but on the devices that support it a keyboard will be shown.

Regards,
STA QA

Re: Code samples for on built keyboard

PostPosted: Mon Sep 16, 2013 4:18 am
by priya
Thank you for your reply

Re: Code samples for on built keyboard

PostPosted: Tue Sep 17, 2013 12:11 am
by Support_STA
Hello,

The keyboard example code is designed to run on an actual LG TV. Therefore it does not run in the emulator. To get it to run all you have to do is include the following in the head of your page:

<link rel="stylesheet" type="text/css" href="LgVKeyboard.css" />
<script type="text/javascript" id="mainVKScript" src="LgVKeyboard.js"></script>

If you run this code on an LG TV it will take care of loading the other scripts and set up the on-screen keyboard for each input element that is clicked.

For the built-in device keyboard you do not need to implement anything specific. Just use regular input elements. The emulator will not show a keyboard on screen, but on the devices that support it a keyboard will be shown.

Regards,
STA QA

Re: Code samples for on built keyboard

PostPosted: Tue Sep 17, 2013 12:19 am
by priya
Thank you for your reply