top

Caph Sample Apps

Published 2014-10-28 | (Compatible with SDK 5.0,5.1 and 2014 models)

There are various sample apps using the Caph framework.

Prerequisites

To launch a sample application, you need a Samsung Smart TV (2014 Platform) or an Emulator of which SDK version 5.0 or higher is installed.

Source Files

Note

To download the entire source files, here.

If you want to download one source file, click each app name. Extract the downloaded zip file, you will see sample apps directory. All the apps are explained in the following table:

App name Description

add_remove_object

Adds or removes a CssObject. It requires mouse input.

animation

Draws 6 kinds of animation with different option.

append_object

Draws 9 kinds of CssObjects and animates them using Layer class.

box

Draws a box.

button

Draws 6 kinds of button with different option.

buttonstrip

Draws a button strip that can move up and down.

carousel

Draws an image carousel.

colortag

Draws a stackable color tag.

css_object

Changes the CssObject's shape, size, and position. It requires mouse input.

custom_ease

control image's acceleration.

dispose_basepage

Creates or disposes BasePage.

domcontainer

Draws DOM Elements which uses DomContainer.

gridwidget

Draws a basic grid widget.

gridwidget_vertical

Draws a vertical cycling grid widget.

gridwidget_withdomcont

Draws a cycling grid widget that is made up of images that are using DomContainer.

highlight

Changes the highlight effect when a widget has focus.

highlight_bypass

Bypasses a focus event.

imagegallery

Draws 5 types of image galleries.

label

Draws the label.

layer

Controls the animations in real time using Layer class. It requires mouse input.

listwidget

Draws a list of widgets that can scroll horizontally.

many_basepage_render

Draws 3 kinds of image with different option.

navigator

Draws a navigator.

object_apply_matrix

Applies matrix to images or <div> elements.

object_event

The event occurs when click or dbclick on an object.

object_setposition

Sets the object's position using pixel unit or percentage.

panel

Draws two panels that are having different options.

pre_next_sibling

Appends CssObject to next sibling or previous sibling.

progressbar

Draws many progress bars.

sidebar

Draws a side bar that has various show effects.

spinner

Draws a set of spinner inputs.

timeline

Shows changes of images following flow of time.

uicontext

Draws a button on two different UIContexts.