This section describes how to create a basic "Hello World" - type TV application with WebAssembly.
To create the Web application:
Select "File > New > Tizen Project" in the Tizen Studio main menu.
Select "Template" or "Sample", and click "Next".
Select the profile "TV" and a version from the drop-down list and click "Next".
Note: To be able to develop WebAssembly you need to choose "TV-samsung v5.5" or a newer version.
Select the "Web Application" as the application type, check the "WebAssembly (C/C++)" check box, and click "Next".
Select an application template and click "Next".
The Tizen Project Wizard creates the project based on the selection.
Define the project properties and click "Next".
Enter paths to the Samsung Emscripten SDK configuration file and cache directory.
The Emscripten SDK configuration file (.emscripten) is the one that was created in the Setting Up Samsung Emscripten SDK stage.
The paths can either be entered manually or you can click the "Browse..." button and select the path. Click "Finish".
If the selected cache directory does not exist, it is created on the first time the WebAssembly module is built.
To add a WebAssembly module to a Web application:
In the Tizen Studio "Project Explorer" view, right-click on the Web application project that you have created in the previous section.
Select "New > WebAssembly Module".
Specify C++ as the programming language, and click the HelloWorld sample, and then click "Next".
Define the module name. The module name must be unique in the current workspace.
Define the canvas and text area (if required) for displaying the WebAssembly module on the Web page, and click "Finish".
The module is created within the wasm_modules folder in the TV application project. It also appears as its own project in the "Project Explorer" view, so you can configure and develop the module separately.