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 closely resembles a real TV software stack. It 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.

Creating Emulator Instances

To create an emulator instance:

  1. Launch the Emulator Manager.
    In the Tizen Studio menu, select "Tools > Emulator Manager".

  2. Click "Create".
    Figure 1. Create emulator instance

  3. Select the "tv" device image, and click "Next".
    Figure 2. Select system image

  4. Select a template for a TV, and click "Next".
    Figure 3. Select device template

  5. Check the configuration settings, and click "Finish".

    • 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 4. Emulator Configuration
    • 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 5. Hardware acceleration
  6. Click "Finish".
    Figure 6. 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 7. Launch emulator instance

    Figure 8. 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 9. Launch application in normal mode
      The application is packaged, transferred, installed, and launched on the emulator automatically. The launch progress is shown in the Tizen Studio.
      Figure 10. 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 11. Launch application in debug mode
      The application is launched on the emulator, along with the Web Inspector.
      Figure 12. 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.

  • 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 13. 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 14. Captioning options