Launching NaCl-enabled Projects
This topic describes how to launch TV applications that include Native Client modules, for testing purposes.
Due to NaCl deprecation by the Chromium project, Tizen TV will continue its support for NaCl only until 2021-year products. Meanwhile, Tizen TV will start focusing on high-performance, cross-browser WebAssembly from 2020-year products.
You can test your Native Client (NaCl) enabled application by launching it on the TV emulator, a Samsung TV, or the Tizen Web simulator.
Testing on the Emulator or TV
Before testing the application on the emulator or a Samsung TV:
- If you do not have a certificate profile already, create one.
- Build the project.
To test the application on the emulator, check that the build configuration for each NaCl module is either the "Debug-pnacl" or "Release-pnacl" configuration, and make sure it is set to generate a ".nexe" file for the i686 architecture.
To test the application on a Samsung TV, check that the build configuration for each NaCl module generates a ".nexe" file for the ARMv7 architecture.
- Launch an appropriate emulator instance, or connect the TV to the SDK.
To launch the application on the emulator or TV:
In the Tizen Studio toolbar, select the emulator instance or device from the drop-down menu.
In the "Project Explorer" view, right-click the project and select "Run As > Tizen Web Application".
The application launches on the selected emulator instance or TV and loads the included NaCl modules.
Testing on the Tizen Web Simulator
Before testing the applicaton on the simulator, familiarize yourself with its features and limitations.
To launch the application on the Tizen Web simulator, in the "Project Explorer" view, right-click the TV application project and select "Run As > Tizen Web Simulator Application (Samsung TV)".
The application launches on the simulator and loads the included NaCl modules.