Tutorial: Using IME (Input Method Editor)

This tutorial demonstrates adding text input capability to an application by using the Input Method Editor (IME) feature of the Application Manager. This feature allows the input of text characters using only the numeric keys available on the remote control. In this tutorial, a sample application is created with a text input box and a password input box, and user input with a virtual keyboard display is enabled. This tutorial focuses on adding IME support to a page layout.

Code for sample applications is provided. sample application (index.html , ime_sample.js) is provided as a simple example.

Tutorial & APIs of IME : IMETutorials & APIs download.

Development Environment

Use Samsung Smart TV SDK to create the application. You can also use the emulator provided with the SDK to debug and test the application before uploading it in your TV. Later, you can run the application on a TV; see Testing Your Application on a TV. Note that applications may perform better on the TV than on the emulator.

You can find general instructions for creating applications in Implementing Your Application Code.

Prerequisites

To create applications that run on a TV screen, you need:

Copy all the files from the supplied application source archive into the SDK application folder, except those in the JavaScript folder.

Directory

Description

CSS

Contains the CSS files.

Javascript

Contains the JavaScript files.

Design

Most of the complexity of international character entry is implemented in the IME feature of the Application Manager. This tutorial creates a JavaScript file (Main.js), an HTML file (index.html), and a CSS file (Main.css).

Where to Go Next