Tizen 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. Just 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 to 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, upgrade, 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.
Feature | Purpose | Documentation |
---|---|---|
Tizen | This API contain classes and interfaces that provide a set of basic definitions and interfaces that are used in the Tizen Device API.
You can use filters and sorting modes for query methods, generic success and error event handlers, a generic error interface, and a simple coordinate interface for defining location information. |
|
Application | 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. |
|
Communication | These APIs contain classes and interfaces that enable you to manage Bluetooth, messaging, NFC (Near Field Communication), push, and secure element features.
You can transfer data over a Bluetooth connection, send and receive messages, share contacts, photos, and videos using NFC, receive push notifications from a push server, and access secure elements, such as SIM card and secure SD card, in a device. |
|
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. |
|
Input/Output | These APIs contain classes and interfaces that enable you to manage file system and message port features.
You can access specific parts of the device file system, archive files, and send and receive messages through message ports. |
|
Multimedia | These APIs contain classes and interfaces that enable you to manage multimedia-related features.
You can change and monitor playback volume level, and react to dedicated multimedia key presses. |
|
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, and you can use locale-specific calendar features by retrieving date and time information. You can manage time features, and set Web view properties, such as setting Web view user agents and deleting Web view cookies. |
|
User Interface | These APIs contain classes and interfaces that enable you to manage badge and notification features.
You can manage and monitor badge numbers, and create and manage notifications about application events. |
|
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.
Feature | Purpose | Documentation |
---|---|---|
Tizen | This API contain classes and interfaces that provide a set of basic definitions and interfaces that are used in the Tizen Device API.
You can use filters and sorting modes for query methods, generic success and error event handlers, a generic error interface, and a simple coordinate interface for defining location information. |
|
Application | 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. |
|
Communication | These APIs contain classes and interfaces that enable you to manage Bluetooth, NFC (Near Field Communication), push, and secure element features.
You can transfer data over a Bluetooth connection, share contacts, photos, and videos using NFC, receive push notifications from a push server, and access secure elements, such as SIM card and secure SD card, in a device. |
|
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. |
|
Input/Output | These APIs contain classes and interfaces that enable you to manage file system and message port features.
You can access specific parts of the device file system, archive files, and send and receive messages through message ports. |
|
Multimedia | These APIs contain classes and interfaces that enable you to manage multimedia-related features.
You can change and monitor playback volume level, and react to dedicated multimedia key presses. |
|
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, and you can use locale-specific calendar features by retrieving date and time information. You can also manage time features. |
|
User Interface | These APIs contain classes and interfaces that enable you to manage badge and notification features.
You can manage and monitor badge numbers, and create and manage notifications about application events. |
|
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 Mobile Web W3C/HTML5 and Supplementaries API Reference.
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 the 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 the information of 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 on 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.
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 the 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 the information of 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 on 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. |
|