Tizen APIs

Mobile WebWearable WebTV Web

Using the Tizen Web API modules, you can develop rich Web applications and build great application experiences with well-known Web programming languages: HTML, CSS, and JavaScript. Like every major browser in the market, the Tizen Web API modules support the latest HTML5 capabilities, such as animation, offline, audio, and video. By utilizing the standard HTML5 capabilities, your Web applications are ready to run across various devices and platforms with minimal customization. In addition to the JavaScript-based Tizen Device API, you can also enable advanced device access from your Web applications, such as Bluetooth and NFC.

The Tizen platform supports hybrid applications (1 Web application and 1 or more native applications). A hybrid application package is very useful for Web applications that need background processing or monitoring. With a hybrid application package, you can register the included applications in the Tizen Store and install, update, and uninstall them using a single hybrid package. For more information on developing hybrid Web applications with Tizen devices, see Packaging Hybrid Applications.

Tizen provides a wide range of Web API modules that allow you to take full advantage of various Tizen features.

The following table lists the features provided by the Mobile Web Device API Reference.

Table: Device API features provided for mobile applications

Feature Purpose Documentation
Base These APIs contain classes and interfaces that provide a set of basic definitions and interfaces that are used in the Tizen Device API.

You can manage common files and ZIP archive files, and define filters and sorting modes for queries. You can also use generic success and error event handlers, in addition to a generic error interface and a simple coordinate interface for defining location information.

Account This API contains classes and interfaces that enable you to manage account features.

You can use existing configured on-line accounts and providers, and create new accounts of known types.

Application Framework These APIs contain classes and interfaces that enable you to manage alarm, application, and package features.

You can schedule an application to be run at a specific time, retrieve information about the applications installed or running on the device, and enable package management.

Content These APIs contain classes and interfaces that enable you to manage content and download features.

You can search and manage multimedia content locally, download files from the Internet, and monitor the download progress and status.

Messaging These APIs contain classes and interfaces that enable you to manage SMS, MMS, and email messages.

You can send and receive messages, and receive push notifications from a push server.

Multimedia These APIs contain classes and interfaces that enable you to manage multimedia-related features.

You can change and monitor playback volume level, and listen to the FM radio.

Network These APIs contain classes and interfaces that enable you to manage Bluetooth, NFC (Near Field Communication), and secure element features.

You can transfer data over a Bluetooth connection, share contacts, photos, and videos using NFC, and access secure elements, such as SIM card and secure SD card, in a device.

Security This API contains classes and interfaces that enable you to manage secure keys in your application.

You can use security functionalities, such as storing and recalling private data.

Social These APIs contain classes and interfaces that enable you to manage bookmark, calendar, call history, contact, and data synchronization features.

You can manage the Tizen Web browser bookmark list, calendar events and tasks, call history, and address books and contacts on a device, and you can synchronize device data, such as contacts and calendar events, with the OMA DS server.

System These APIs contain classes and interfaces that enable you to manage power, system information and setting, time, and Web setting features.

You can access the state of the device power resource, device system information, and device wallpaper settings. You can use locale-specific calendar features by retrieving date and time information, and set feedback patterns for specified actions. You can also manage time features, and set Web view properties, such as setting Web view user agents and deleting Web view cookies.

UIX This API contain classes and interfaces that enable you to set voice commands.

You can allow the user to control the Web application through their voice.

Cordova These APIs contain classes and interfaces that enable you use common functionalities in creating Tizen Web applications.

You can manage the device filesystem, individual files, and various events, access device and network information and the device accelerometer, create dialog boxes and system log entries, and play audio files.

Web UI Framework These APIs contain classes and interfaces that enable you to manage the Tizen Advanced UI (TAU) features.

You can create and manage various kinds of UI components.

The following table lists the features provided by the Wearable Web Device API Reference.

Table: Device API features provided for wearable applications

Feature Purpose Documentation
Base These APIs contain classes and interfaces that provide a set of basic definitions and interfaces that are used in the Tizen Device API.

You can manage common files and ZIP archive files, and define filters and sorting modes for queries. You can also use generic success and error event handlers, in addition to a generic error interface and a simple coordinate interface for defining location information.

Account This API contains classes and interfaces that enable you to manage account features.

You can use existing configured on-line accounts and providers, and create new accounts of known types.

Application Framework These APIs contain classes and interfaces that enable you to manage alarm, application, and package features.

You can schedule an application to be run at a specific time, retrieve information about the applications installed or running on the device, and enable package management.

Content These APIs contain classes and interfaces that enable you to manage content and download features.

You can search and manage multimedia content locally, download files from the Internet, and monitor the download progress and status.

Messaging This API contains classes and interfaces that enable you to manage push messaging.

You can receive push notifications from a push server.

Multimedia These APIs contain classes and interfaces that enable you to manage multimedia-related features.

You can change and monitor playback volume level, and listen to the FM radio.

Network These APIs contain classes and interfaces that enable you to manage Bluetooth, NFC (Near Field Communication), and secure element features.

You can transfer data over a Bluetooth connection, share contacts, photos, and videos using NFC, and access secure elements, such as SIM card and secure SD card, in a device.

Security This API contains classes and interfaces that enable you to manage secure keys in your application.

You can use security functionalities, such as storing and recalling private data.

Social These APIs contain classes and interfaces that enable you to manage calendar and contact features.

You can manage calendar events and tasks, address books, and contacts on a device.

System These APIs contain classes and interfaces that enable you to manage power, system information and setting, and time features.

You can access the state of the device power resource, device system information, and device wallpaper settings. You can use locale-specific calendar features by retrieving date and time information, and set feedback patterns for specified actions. You can also manage time features.

UIX This API contain classes and interfaces that enable you to set voice commands.

You can allow the user to control the Web application through their voice.

Cordova These APIs contain classes and interfaces that enable you use common functionalities in creating Tizen Web applications.

You can manage the device filesystem, individual files, and various events, access device and network information and the device accelerometer, create dialog boxes and system log entries, and play audio files.

Web UI Framework These APIs contain classes and interfaces that enable you to manage the Tizen Advanced UI (TAU) features.

You can create and manage various kinds of UI components.

The following table lists the features provided by the TV Web Device API Reference.

Table: Device API features provided for TV applications

Feature Purpose Documentation
Base These APIs contain classes and interfaces that provide a set of basic definitions and interfaces that are used in the Tizen Device API.

You can manage common files and ZIP archive files, and define filters and sorting modes for queries. You can also use generic success and error event handlers, in addition to a generic error interface and a simple coordinate interface for defining location information.

Application Framework These APIs contain classes and interfaces that enable you to manage alarm, application, and package features.

You can schedule an application to be run at a specific time, retrieve information about the applications installed or running on the device, and enable package management.

Content These APIs contain classes and interfaces that enable you to manage content and download features.

You can search and manage multimedia content locally, manipulate EXIF data in JPEG files, download files from the Internet, and monitor the download progress and status.

Messaging This API contains classes and interfaces that enable you to manage push messaging.

You can receive push notifications from a push server.

Network This API contains classes and interfaces that enable you to manage IoT connectivity.

You can create a client and server, and manage their resources locally and remotely.

Security This API contains classes and interfaces that enable you to manage secure keys in your application.

You can use security functionalities, such as storing and recalling private data.

System These APIs contain classes and interfaces that enable you to manage system information, time, and Web setting features.

You can access the device system information and use locale-specific calendar features by retrieving date and time information. You can also set Web view properties, such as setting Web view user agents and deleting Web view cookies.

UIX This API contain classes and interfaces that enable you to set voice commands.

You can allow the user to control the Web application through their voice.

Cordova These APIs contain classes and interfaces that enable you use common functionalities in creating Tizen Web applications.

You can manage the device filesystem, individual files, and various events, access device and network information and the device accelerometer, create dialog boxes and system log entries, and play audio files.

TV Controls These APIs contain classes and interfaces that enable you control the TV functionalities, such as channels and audio.

You can modify the volume level, switch TV channels, get program guide information, and manage TV settings. You can also access 3D mode information, monitor remote control key events, and control the main and PIP window on the TV screen.

The following table lists the features provided by the Mobile Web W3C/HTML5 and Supplementaries API Reference.

Table: W3C/HTML5 and some supplementary API features provided for mobile applications

Feature Purpose Documentation
DOM, Forms and Styles These APIs enable you to create animations, specify the border and background styles of HTML elements, apply styles to HTML documents, specify the color and opacity of HTML elements, create flexible and multi-column layouts for Web applications, move, rotate, stretch, and scale elements, and add effects using CSS3 properties. They also enable you to use CSS and JavaScript code effectively with HTML elements, implement Web forms for user input, define media features for specific output devices, select element nodes in the DOM tree, and store information about the page that the user has viewed.
Device These APIs enable you to retrieve the battery status and detect changes in it, detect rotation and acceleration motions, manage screen orientation, implement and control various types of touch events, and implement different vibration patterns on a Tizen device.
Graphics These APIs enable you to create images, shapes, and text using the HTML5 canvas element and HTML canvas 2D context, and create and modify SVG elements in your application.
Media These APIs enable you to access a local device to generate a multimedia stream, access the media capture capabilities based on their type, control multimedia playback and check supported media formats, and play audio content.
Communication These APIs enable you to send and receive data between Web sites and through a message channel, exchange push data with the server, connect to the socket server to send and receive data, and use cross-origin resource sharing (CORS) to request and send data of various content types.
Storage These APIs enable you to retrieve file content and information, slice data objects, manage sandboxed file systems, activate project resource caching and manage the cached resources, create an object store and save data in it, create databases and access them using SQL statements, and use session storage and local storage.
Security These APIs enable you to allow or block specific HTML elements on a Web page, and make cross-origin requests to resources, allowing a client-side Web application to obtain data retrieved from another origin.
UI These APIs enable you to copy content and paste it in an editable area, create and manage draggable elements, and implement drag events.
Performance and Optimization These APIs enable you to retrieve the visibility status of a Web document and detect changes in it, control animation frame rate, and create and manage HTML5 Web Workers to run an independent JavaScript thread in the background.
Location These APIs enable you to retrieve and update position information.
Supplementary These APIs enable you to manage some supplementary features, such as displaying an element on full screen, accessing binary data in JavaScript, and using the WebGL™ graphics library to create 3D visual elements.

The following table lists the features provided by the Wearable Web W3C/HTML5 and Supplementaries API Reference.

Table: W3C/HTML5 and some supplementary API features provided for wearable applications

Feature Purpose Documentation
DOM, Forms and Styles These APIs enable you to create animations, specify the border and background styles of HTML elements, apply styles to HTML documents, specify the color and opacity of HTML elements, create flexible layouts for Web applications, move, rotate, stretch, and scale elements, and add effects using CSS3 properties. They also enable you to use CSS and JavaScript code effectively with HTML elements, implement Web forms for user input, define media features for specific output devices, select element nodes in the DOM tree, and store information about the page that the user has viewed.
Device These APIs enable you to retrieve the battery status and detect changes in it, detect rotation and acceleration motions, implement and control various types of touch events, and implement different vibration patterns on a Tizen wearable device.
Graphics These APIs enable you to create images, shapes, and text using the HTML5 canvas element and HTML canvas 2D context.
Media These APIs enable you to access a local device to generate a multimedia stream, control multimedia playback and check supported media formats, and play audio content.
Communication These APIs enable you to send and receive data between Web sites and through a message channel, and connect to the socket server to send and receive data.
Storage These APIs enable you to retrieve file content and information, create an object store and save data in it, and use session storage and local storage.
Security These APIs enable you to allow or block specific HTML elements on a Web page.
Performance and Optimization These APIs enable you to retrieve the visibility status of a Web document and detect changes in it, control animation frame rate, and create and manage HTML5 Web Workers to run an independent JavaScript thread in the background.
Location These APIs enable you to retrieve and update position information.
Supplementary These APIs enable you to manage some supplementary features, such as managing the device camera, accessing binary data in JavaScript, and using the WebGL™ graphics library to create 3D visual elements.