This topic describes sample applications that introduce basic Native Client features, and explains how to access the sample source code in the Tizen Studio.
The following tutorials introduce how to implement basic Native Client (NaCl) features using C and C++.
Table 1. Tutorials and source code
You can access the sample application source code from within the Tizen Studio, or download the source code and open it in an editor of your choice.
To access the sample application source code in the Tizen Studio:
Select "File > New > Other".
In the "Select a wizard" dialog, select "Tizen > Samsung TV > Tizen NaCl App (C/C++)", and click "Next".
Enter a project name and folder, select the programming language and Pepper toolchain version, and click "Next".
In the "Select project content" dialog, click "Example projects", select the sample you want from the list, and click "Next".
Select the screen resolution you want, and click "Finish".
In the Tizen Studio, you can use a cheat sheet to study key parts of the sample code. To open the cheat sheet, select "Help > Cheat Sheets > NaCl Application > NaCl demo guides > [required cheat sheet]" and click "OK".
To test a sample application on the TV emulator, you must compile and build the application with the Tizen Studio. If you simply want to test the application in the Google Chrome™ browser, you can also compile the code manually with the make command.
make