Dev TipsSubscribe to RSS - Dev Tips

Tizen Web: A sample application to show Automatic screen brightness adjustment based on ambient light

Introduction

The brightness of ambient light can be detected by the light sensor. Tizen web provides Sensor API to manage data from light sensor. The light sensor data can then be used to develop features like indoor lighting control, IoT light device control, photographic environment justification, camera flashlight automation. In this document, we focused on adjusting device’s screen brightness based on the ambient light using Tizen Web APIs.

Native UI Design Using EFL

Introduction

This tip article demonstrates how to use EFL to create a basic Tizen Native application UI. EFL is an open-source toolkit that provides a set of libraries that offer useful features to applications. EFL is one of the Tizen native UI modules and is available in various Tizen profiles. A sample application is developed which implements some UI components for better understanding.

Parsing XML data in Tizen Native App

Introduction

Libxml2 is a commonly known XML parser and toolkit written in the C language and is freely available for integration into apps. Libxml2 library implements functions for reading, creating and manipulating XML data.

The strength of Libxml2 library is, it includes basic FTP and HTTP clients and there is no need to keep the XML file to be parsed in the local storage. In this tip document, the above mentioned library is used to build up a complete native application in Tizen which will provide the facility to use required data after parsing.

Native widget in Tizen 2.4 mobile

Introduction

In this article you will learn by example, how to create a Tizen 2.4 mobile native widget and how to share data between a widget, service and a UI application.

In short words, a widget in Tizen is a small application which is displayed on the home screen of a device. Typically we use a clock widget, weather widget, sticky note widget, recent contacts widget etc. Widgets can be created using the Tizen Native API and they can be distributed in the Tizen Store only when accompanied by a regular UI application.

WebView in Native Application: Browsing with Multiple Tabs

This tip document will demonstrate how to implement web browsing with multiple tabs in a Native application (which is a continuation of a previous tip document: https://developer.tizen.org/community/tip-tech/webview-native-application ).

For demonstration purpose we’ll consider 200 tabs at most.

Step-1: Creating Data Structure for Browser UI with Multiple tabs

RSS Feed Reader Using jFeed and Bootstrap

Introduction

RSS (Rich Site Summary) is a popular method of publishing posts in blogs and other websites. Subscribers of RSS feeds are able to receive updated articles and syndicated posts timely. Subscribers need to use RSS readers to receive the feeds from service providers or servers.

RSS is basically an xml file that contains information related to the posts like “Title”, “Date”, “Link”, “Description” etc. RSS-xml file has to follow a specific format set by the board (RSS Advisory Board [4]) that reviewed and set it.

Here’s an example RSS feed:

SOAP message parsing in Tizen Web

Introduction

In this tip document, a simple example of parsing SOAP structure messages using XmlHttpRequest is discussed. SOAP stands for Simple Object Access Protocol. When publishing complex application program interface (API) as a web service, SOAP is very useful as it is commonly used. A Tizen web app is developed to show a step by step approach for implementing SOAP structured message parsing.

Test Settings:

Type

Tizen Web App