top

TV Emulator

The TV emulator is a tool that provides an environment similar to a real device, for testing purposes. If you do not have the real device, you can test on a virtual device with similar features.

The TV emulator is a virtual machine that reduces the inconvenience of testing the application on a real device, by providing an environment similar to a real device. The emulator provides the actual hardware similar to real device controls, and you can check the application features, such as data processing and user scenarios. The emulator is based on the open source QEMU project.

Note

The emulator is slower than a real TV.

For more information on the differences between the TV emulator and real TVs, see Emulator Limitations.

Prerequisites

To use the TV emulator, your computer must support OpenGL® ES acceleration. You need:

  • Graphics chipset driver that supports OpenGL® 1.4 installed on the host machine

  • All chipset vendors and driver versions available to support the OpenGL® 1.4 standard

Note

The emulator supports only OpenGL® ES 1.1 and 2.0, and EGL™ 1.4.

Creating Emulator Instances

To create an emulator instance:

  1. Launch the Emulator Manager.
    In the Tizen Studio, on the “Connection Explorer” tab, click “Emulator Manager”.

    Figure 1. Launch Emulator Manager

    Figure 1. Launch Emulator Manager

  2. Click “Create”.

    Figure 2. Create emulator instance

    Figure 2. Create emulator instance

  3. Select the “tv” device image, and click “Next”.

    Figure 3. Select system image

    Figure 3. Select system image

  4. Select a template for a TV, and click “Next”.

    Figure 4. Select device template

    Figure 4. Select device template

  5. Check the configuration settings:

    • In the “General” tab, make sure that the amount of RAM is 1024 MB or greater. The emulator can be unstable with less than 1024 MB of RAM.

      Figure 5. RAM amount

      Figure 5. RAM amount

    • In the “HW Support” tab, make sure that “CPU VT” and “GPU” are switched on. If either value is “OFF”, the emulator instance cannot be launched.

      Figure 6. Hardware acceleration

      Figure 6. Hardware acceleration

      Note

      If there is a warning message next to “CPU VT”, install Intel® HAXM.

  6. Click “Finish”.

    Figure 7. Finish emulator instance creation

    Figure 7. Finish emulator instance creation

Launching Applications in the Emulator

To launch an application in an emulator instance:

  1. Launch the emulator instance.
    Select the instance from the Emulator Manager list, and click “Launch”.

    Figure 8. Launch emulator instance

    Figure 8. Launch emulator instance


    Figure 9. TV emulator instance

    Figure 9. TV emulator instance

  2. Launch the application in normal or debug mode:

    • To launch the application in normal mode, right-click on the application in the “Project Explorer” view in the Tizen Studio, and select “Run As > Tizen Web Application”.
      Figure 10. Launch application in normal mode

      Figure 10. Launch application in normal mode


      The application is packaged, transferred, installed, and launched on the emulator automatically. The launch progress is shown in the IDE.
      Figure 11. Application launch progress

      Figure 11. Application launch progress

    • To launch the application in debug mode, right-click on the application in the “Project Explorer” view in the Tizen Studio, and select “Debug As > Tizen Web Application”.
      Figure 12. Launch application in debug mode

      Figure 12. Launch application in debug mode


      The application is launched on the emulator, along with the Web Inspector.
      Figure 13. Web Inspector

      Figure 13. Web Inspector

Emulator Features

The TV emulator has the following features:

  • Virtual remote control
    Using the virtual remote control, you can control the application in the emulator just like on an actual device.

    Note

    The "POINTER" button on the virtual 2015 Samsung Smart Remote is not supported. Instead, simply use your computer mouse.

  • Emulator Control Panel
    You can control the state of the emulator dynamically. For more information, see Emulator Control Panel.

  • Context menu options
    You can right-click the emulator instance to access additional features, such as adjusting the scale of the emulator screen. In the “Advanced” menu, you can change the type of remote control, and take screen shots.

    Figure 14. Advanced context menu

    Figure 14. Advanced context menu

  • Bridged networking
    You can connect an emulator to a network through a host computer, so that it has its own IP address. For more information, see Bridged Network Configuration.

  • Captioning
    You can set captioning options. On the emulator, go to “Settings > General > Accessibility > Caption Settings”.

    Figure 15. Captioning options

    Figure 15. Captioning options