Dev TipsSubscribe to RSS - Dev Tips

Vibration API in Tizen Web app

Introduction

To provide tactile feedback to user or to interact with user even when the device volume is low, vibration can provide a better user experience and improve the perception of application. When it comes to Tizen app development, external third party library is not required to implement vibration as this is included in Tizen API.

In this document, a simple web app is developed to show the use of vibration in different patterns and types in Tizen Web app.

Test Settings:

Topic extraction from Message Text using external scripts/library

Introduction

Topic modeling means detecting “abstract” topics from a collection of texts. There are various techniques like: statistical technique, LDA, Hierarchical Dirichlet process etc. Amongst all of the techniques, Latent Dirichlet Allocation(LDA) has got more success based on accuracy and usability.

This statistics based text processing algorithm takes text as input and produces a list of topics based on inner implementation of LDA variant. Number of topics to be detected should be pre-defined before applying LDA method.

Tizen Web: Broadcasting and Listening for Custom Events

Introduction

Tizen Web applications have the ability to broadcast a custom event to all applications (the ones listening for that particular event). Thus, a developer is facilitated with triggering custom events depending upon need.

For security purpose, Tizen web application also offers broadcasting trusted events to only trusted listeners having the same certificate as sender application. Applications not having the same certificate won’t be able to listen to broadcasted event if trusted protocol is used.

Using Web SQL Database in Tizen Web App

Introduction

Web SQL Database is a web page API for storing data in databases that can be queried using a variant of SQL. This API isn't actually part of the HTML5 specification but it is a separate specification which can manipulate client-side databases using SQL.

In this document, a simple web app is developed to show the basic functionality of Web SQL in Tizen Web app.  Storing and getting data from database are shown in this app.

Test Settings:

Type

Showing System Info in Wearable widget (Tizen Web)

Introduction

A Widget is a special type of Tizen Application. Widget provides summary information from the parent application or specific system information. It also allows users to take some actions without opening the parent application to increase the usability. It occupies the entire screen to make the most out of the screen.

So far, for web development, widgets are only available in wearable. They are loaded on the widget board (tap right) of the home screen layer.

Tizen Web SystemInfo API : LED Flashlight application With Adjustable Brightness feature

Introduction

Tizen Web application provides systemInfo API giving access to various properties of the system.  From Tizen 2.4 Tizen web application brings the feature to use LED Flashlight which was previously accessible from native platform only.

Web applications can use systemInfo API to access the following system properties providing interfaces and methods that can retrieve status of hardware devices, get the value of selected properties, and subscribe to asynchronous notifications of changes for selected values:

Tizen Advanced UI Framework Guide for Mobile - Part 2

Introduction

The Tizen Advanced UI Framework allow creating and managing various kinds of UI components. The components represent a visual UI element, such as a button or slider, which gives you interaction and manipulation features.

This is the 2nd part of a two part article.

In this document, User Input Components are discussed.

Tizen Advanced UI Framework Guide for Mobile - Part 1

Introduction

The Tizen Advanced UI Framework allows creating and managing various kinds of UI components. These components represent a visual UI element, such as a button or slider, which provides interaction and manipulation features.

In this tip & tech document, a detailed description is given as per TAU components. Example is given with the demo for each control. This Article is divided into several parts. On this 1st part, basics of TAU and environment setup is discussed.