Code samples for on built keyboard

Code samples for on built keyboard

Postby priya » Mon Sep 16, 2013 4:18 am

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.
priya
 
Posts: 16
Joined: Sun Aug 25, 2013 10:53 pm

Code samples for on built keyboard

Postby priya » Mon Sep 16, 2013 4:18 am

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.
priya
 
Posts: 16
Joined: Sun Aug 25, 2013 10:53 pm

Re: Code samples for on built keyboard

Postby Support_STA » Mon Sep 16, 2013 4:18 am

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
Support_STA
 
Posts: 136
Joined: Fri Aug 09, 2013 3:56 am

Re: Code samples for on built keyboard

Postby priya » Mon Sep 16, 2013 4:18 am

Thank you for your reply
priya
 
Posts: 16
Joined: Sun Aug 25, 2013 10:53 pm

Re: Code samples for on built keyboard

Postby Support_STA » Tue Sep 17, 2013 12:11 am

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
Support_STA
 
Posts: 136
Joined: Fri Aug 09, 2013 3:56 am

Re: Code samples for on built keyboard

Postby priya » Tue Sep 17, 2013 12:19 am

Thank you for your reply
priya
 
Posts: 16
Joined: Sun Aug 25, 2013 10:53 pm


Return to App development questions



cron