Introduction to Emulator

The 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. The supported platform version for each emulator is as below.

Emulator version

Supported webOS TV Version

v4.0.0

v4.x

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 the webOS TV emulator, see Using webOS TV Emulator.

Emulator Limitations and Differences

The following describes what limitations the 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. The acceleration sensor is not supported.

  • Supported codecs and containers are listed in Supported Media and DRM Formats.

  • LG Content Store is not supported.

  • Multi-sound works with multiple audio elements in the 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 full package installer of the webOS TV SDK.

Using the Component Manager of the webOS TV SDK, you can choose one or more versions of the webOS TV emulator to install. For more details about the installation of the emulator, see Installation.

Starting and Exiting Emulator

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

Starting the emulator

  • Windows: Select the shortcut menu in Start > webOS TV SDK or click the shortcut icon on 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 icon in the remote control unit emulator or click Emulator Menu icon and select Exit.

  2. When the confirmation popup window appears, click OK.

Getting Familiar with Emulator UI

The following screenshot shows the webOS TV emulator launched on the computer.

Screenshot of the emulator

 

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. 

Emulator Menu

Provides main functions. Click Emulator Menu icon, then sub-menus appear: App ManagerTake Screenshot, Help, About, and Exit.

User Input & Preloaded Apps

The user inputs of the webOS TV emulator are similar to those of the webOS TV, using an 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 an HID keyboard to enter text in an app.

  • The following keys are supported in the 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 v4.0.0.

Screenshot of emulator Home UI

  • Welcome: An app showing the welcome message

  • Bare App: Blank non-enyo web app

  • Enact Hello: Enact-based web app that shows the 'HELLO WORLD!" message

  • Enact Sampler: A comprehensive tour of Enact 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