This section demonstrates the initial configuration of the App. It assumes that basic App creation is already understood by the reader.

Start the SDK for Samsung TV Apps.

Create a new App. The App is launched on the browser running on the SDK. All the JavaScript files are also included providing the dynamic behaviour to the App.

This GetCameraState() function checks the current camera state. And The RegisterEventCallback function registers a callback to receive camera related event. When the event arrives, the registered callback function is called with event value. The supported events are as follows, By registering event callback, application can know the change of camera status without polling the camera status.

Press the ... button for opening a video file instead of a real camera show.

If you press the play button using remote control at emulator, Camera Application implements to display camera video. And if you press the stop button using remote control at emulator, this app implements to undisplay camera video.