How to Use a Navigation Controller in the Master View for Your iOS App
How to Set Up a WeatherController in the Main_iPad.storyboard file for Your iOS App
How to Add a New View Controller to Your iOS App

Create a New Project for Developing a Samsung SmartTV Application

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.

1

Select the “Samsung SmartTV SDK” top menu of the Eclipse.

Select the “Create Samsung SmartTV JavaScript App Project” submenu.

2

Select the menu to open the next window.

The project name, path, and application resolution can be entered in this window.

3

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 project. Index.html file, widget.info (holds resolution information) file, and config.xml (holds application’s configuration information) files are stored in the root folder.

4

Select the “Samsung SmartTV SDK Preferences” submenu from the “Samsung SmartTV SDK” top menu of the Eclipse.

Before testing to see if the first project will run, you need to set a path for an Emulator to run the application.

5

Select the “Emulator” tab and configure the Emulator version for the Eclipse project.

This function allows testing an application in various TV models. In addition, the “Emulator Font” option allows customizing display text font for the Emulator. Configure SDK’s installation path at the “SDK Install Path” option. Normally, the correct path is already entered as the default, but manual configuration is necessary in some systems.

6

Execute the project.

An Emulator is needed to test a project. Select the project in the left pane’s “Project Explorer,” and click the “Run Current Project in Samsung SmartTV Emulator” submenu in the “Samsung SmartTV SDK” top menu of the Eclipse.

7

The Emulator will then run the project.

Note that there are two options, the “Run Current Project in Samsung SmartTV Emulator” and “Run Samsung SmartTV Emulator” submenus under the “Samsung SmartTV SDK” top menu. The first one runs the currently selected source code, and the latter opens up on its own. The latter option requires manual selection of a project to execute it.

   
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
How to Use Inspector and Quick Help Pane for iOS App Development
How to Configure the Samsung SmartTV SDK
How to Add the Weather View Controller to Your iOS App
How to Create an Apple Development Provisioning Profile and Development Certificate
How to Join the Apple Developer Program
Advertisement

Inside Dummies.com