Tizen Web APIs

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 official site for Tizen applications 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.

Note

The feature support differs depending on the application profile (mobile, wearable, or TV).

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.
Machine Learning These APIs contain classes and interfaces that enable you to handle machine learning frameworks, like TensorFlow and TensorFlow-Lite.
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 calendar, call history, contact, and data synchronization features.
You can manage 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 audio and settings.
You can modify the volume level, 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.

Note

In Tizen Web Device APIs, there are two types of APIs: mandatory and optional.

The mandatory APIs are always available on all Tizen devices. The optional APIs provide functionality that depends on the available device hardware or software capabilities, and they may not be available on all Tizen devices. For example, the Bluetooth and NFC API hardware features are optional, and not supported on all devices.

To determine the availability of optional APIs, use the tizen.systeminfo.getCapability() method of the System Information API (in mobile, wearable, and TV applications).

Note that all mandatory APIs are supported on the Tizen emulators, while the optional APIs may or may not be supported. For more information on support for each API, see Tizen Web Device API Reference.

To compare API support between Web Device API modules and native API modules, see Tizen 3.0 Native and Web API Modules.