Smamsung smart TV how to write a "Hello World" app



Step 1:
Create a new pplication:
Goto File > New Project > Select "Javascript Project".
Selecting project type of javascript means more controll over you app and code.

Step: 2:
Write this line in the body of the index.html:
<div id="outputDiv"></div>
We will populate our output from javascript and update this div. To make the body background color white write "background:#fff" in the body style as in the following figure.

Step: 3:
Write this line in the main.js file (The main.js file is inside the app/javascript folder)

Step: 4
Run the application and press the Enter button from the remote conroller. You the word "Hello World" will be appended inside the "outputDiv" dive. 

And its done!