Introduction to Emulator

webOS TV emulator emulates webOS TV on your computer enabling you to test and debug apps on your computer. It runs on the Oracle VM VirtualBox to emulate webOS TV, and emulates LG Smart+ TV remote control unit. Supported platform version for each emulator is as below.

Emulator version Supported webOS TV Version
v3.0.0 v3.x
v2.0.0 v2.x
v1.2.0 v1.x

This article provides below:

To learn about the main function of webOS TV emulator, see Using webOS TV Emulator.

Emulator Limitations and Differences

The following describes what limitations webOS TV emulator has compared to webOS TV.

  • The webOS TV platform UI is limitedly supported: launching/exiting Home UI is supported only.
  • The TV tuner is not supported.
  • Magic remote control is limitedly supported. Acceleration sensor is not supported.
  • Supported codecs and containers are listed in Supported Media and DRM Formats.
  • LG Content Store (LG Store) is not supported.
  • Multi-sound works with multiple audio elements in emulator. However, in real TV, you can only use one audio element in an app. See Playing Multi-sound for details.
There may be a difference in performance between webOS TV and Emulator. The performance depends on the CPU speed, the graphics card, and the video memory of your computer.

Installing Emulator

The webOS TV emulator is automatically installed on your computer, when you install the webOS TV SDK.

Using network installer, you can choose one or more versions of webOS TV emulator to install. For each emulator version, about 1.2 GB of hard disk space is required. To download the installer, visit Download SDK.

Supported Platforms

  • Microsoft® Windows 7 (32-bit and 64-bit)
  • Mac OS X 10.8 Mountain Lion, 10.9 Mavericks and 10.10 Yosemite (64-bit)
  • Ubuntu 10.04, 12.04 / Ubuntu Mint 13 (Maya) (32-bit and 64-bit)
The webOS TV SDK automatically installs Oracle VM VirtualBox 4.2.16 on your computer. The webOS TV emulator needs VirtualBox version 4.2.x or higher to run. If you wish to install VirtualBox on your computer manually, or if you already have VirtualBox on your computer, you need to ensure that is version 4.2.x or higher. It is also highly recommended that you run this on a computer that has a dual core processor, and 3 GB or higher RAM.

Starting and Exiting Emulator

Starting the emulator activates virtual machine and launches the main screen. Then, the remote control unit is launched.

Starting the emulator

  • Windows: Select shortcut menu in Start > webOS TV SDK or click the shortcut icon in Desktop.
  • Mac OS: Select Finder > Favorites > Applications > webOS_TV_SDK and double-click the shortcut icon.
  • Linux: Search the emulator by keyword "webOS" in Dash home and click the shortcut icon.
Before starting the emulator after the installation in Mac OS or Linux, reboot or login again to the computer.

Exiting the emulator

  1. Press close.png in the remote control unit emulator or click Emulator_Menu.png and select Exit.
  2. When confirmation popup window appears, click OK.

Getting Familiar with Emulator UI

This is the screenshot of webOS TV emulator launched on the computer.

 

Item Name Description
Main Window Displays emulator actions. This is in part of VirtualBox and has the same resolution as the LG Smart TV screen (1920 x 1080 Full HD). It can be resized or changed to full screen mode.
Remote Control Unit Emulator Emulates the remote control unit. The skin of remote control unit can be changed. See Changing Remote Control Unit Skin.
Emulator Menu Provides emulator main functions. Click Emulator_Menu.png, then sub menus appear: App Manager, Skin, Take Screenshot, Help, About and Exit.

User Input & Preloaded Apps

The user inputs of webOS TV emulator are similar to those of the webOS TV, using a HID keyboard, a mouse, and remote control unit emulator.

  • Use a mouse to scroll up and down the page and navigate with the cursor.
  • Use a HID keyboard to enter text in an app.
  • The following keys are supported in remote control unit emulator.
    • Power, Home, Back, OK, Left, Right, Volume, Mute
  • Press Home key in remote control unit emulator for starting and exiting Home UI.
  • Press Command key in the Mac OS computer, Windows key in the Windows computer, and Super key in the Linux computer for starting and exiting Home UI.

 

This figure shows the Home UI containing preloaded apps in webOS TV emulator v3.0.0.

  • Web Browser: Same version of web browser with a real device
  • Welcome: An app showing welcome message
  • Bare App: Blank non-enyo web app
  • BareMoon 2: Blank enyo moonstone app
  • Enyo 2 Sampler: A comprehensive tour of Enyo and its libraries

APIs Supported on the Emulator

To see which APIs are supported on each emulator version, go to API and check each subsection.

 

Navigation