O'Reilly logo

Samsung SmartTV Application Development by Handstudio Co., Ltd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

04

Hello TV!

Creating a New Project

Implementing the Hello TV! Program

Running Hello TV!

Installing Hello TV! on a TV

Summary

Before jumping into the Samsung SmartTV functions and APIs, let's make a simple “Hello TV!” application to briefly cover the whole application development process from creating a new project to publishing it.

Creating a New Project

Creating a New Project

The first step of developing a Samsung SmartTV application is creating a project. Necessary components can be created in the new project, and then necessary source code can be entered into the components. A project can be created in the included Eclipse IDE. See the following steps for the details.

Select the “Create Samsung SmartTV JavaScript App Project” submenu from the “Samsung SmartTV SDK” top menu of the Eclipse.

images

Figure 4-1. Selecting the JavaScript App Project

Select the menu to open the next window, where the project name, path, and application resolution can be entered.

images

Figure 4-2. Entering the Application Name and Resolution

Click the “Finish” button to finish creating a new project step. The newly created project includes an “app” folder that contains a JavaScript file and a CSS file, “icon” folder that contains the application's icon, and an “images” folder to store image files used in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required