1 / 13

Sun-a, Kim Yoon kyoung , Kim

Study ‘ Developer Documentation’. Sun-a, Kim Yoon kyoung , Kim. Samsung Smart TV. Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet. Smart TV Applications. Application on the Smart TV and on a Computer.

galena
Download Presentation

Sun-a, Kim Yoon kyoung , Kim

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Study ‘Developer Documentation’ Sun-a, Kim Yoon kyoung, Kim

  2. Samsung Smart TV Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.

  3. Smart TV Applications Application on the Smart TV and on a Computer

  4. Application Structure

  5. Application File Structure

  6. Application architecture Samsung Smart TV applications run on a browser. Smart TV also includes an Application Manager that handles application-related tasks.

  7. Project Types

  8. Writing the config.xml file The config.xml file contains information about the application’s execution, updates, operating environment settings and so on. Depending on the information, the Application Manager controls the version of the application. Sets the environment in which the application is run, and creates and manages user accounts. The config.xml file must be located in the directory in which the application is installed, and contain the tags listed in the table below.

  9. The index.html file is the access point of the application. Writing the index.html file A sample HTML code snippet for the index.html file is shown below. It includes the Main.js file under the JavaScript folder and calls the Main.onLoad() function when the document loadeds.

  10. Writing JavaScript file When the HTML document is loaded, the onLoad() function of the Main object is called, as the Main.onLoad() function in the onload property is registered in the <body> tag.

  11. Writing a CSS file Add the following string to the <head> field in the index.html file: Assign an ID to <div> element in the index.html file:

  12. Writing a CSS file Create a Main.css file in the CSS folder and enter the code snippet shown in the box below to specify the style of the ‘welcome’ element:

  13. The END

More Related