Dev TipsSubscribe to RSS - Dev Tips

Communication between Native Widget and UI App

Introduction

Widget applications (or simply widgets) are specialized applications useful in providing users with a quick view of specific information from the parent application. Also, widgets allow users to access certain features without launching the parent applications. Combined with the parent application, a widget can have various features to increase the usability of an application set.

To show the changes done by a widget in the UI app, communication between widget and UI app is required. Data sharing can be a way for this type of communication.

Using Google Maps API for Distance measuring in Tizen Web

Introduction

Google Maps API allows you to display maps on App. These APIs are available for Android, iOS, JavaScript and via HTTP web services. In this tip document, method for calculating distance using Google map between two cities using JavaScript is shown. A Tizen web app is developed to show a step by step approach for implementing.

Test Settings:

Type

Tizen Web App

SDK

Tizen SDK 2.4

C++ for Tizen Native Application

Introduction

C and C++, both are used for Tizen Native application development. However, Most of the given sample applications are written in C and the default IDE settings can’t recognize C++ code. So, a beginner in Tizen development may face hard time to write code in C++ as he/she can’t use many magical features of C++. This article demonstrates how to make Tizen studio C++11 compatible so that developers can use C++ for Tizen native application development.

Trouble Shooting for Compatibility with previous versions of Tizen Studio

Environment

It occurs under the following conditions:

  1. Old workspace used in previous versions of Tizen SDK.
  2. The Tizen Web, Tizen Native and Tizen Native UI Builder perspectives were used.
  3. The Tizen Native or Tizen Native Builder perspective was last used.
  4. After installing the latest Tizen Studio using the installer without install other tools using package manager.

 

Sample Web Application development using Command Line Interface

Introduction

A command-line interface (CLI) is a form of interacting with a computer program where the user issues commands to the program in the form of successive lines of text (command lines). Tizen also provides SDK with Command Line Interface (CLI) for developing Tizen applications without using the Tizen Studio IDE. It includes the entire development process from creating the project to running the application.

In this document, we will take a tour on a sample web application development using CLI from scratch.

Tizen Native UI Fragmentation

Introduction

This article describes how to divide UI view into different fragments. Fragment is a modular section of UI view where you can control a particular UI segment according to your requirements. It represents a portion of user interface where you can put different UI widgets, input events etc.

HTTP request using CURL API and Ecore Timer

Introduction

Libcurl is an open source library to implement URL-related transfer activities without a Web browser. Tizen supports this library through the Curl API. Using this API you can simply do HTTP requests with various options.

On the other hand, Ecore provides very flexible timer functionality. The basic usage of timers is to call a certain function at a certain interval. You can make all the functionalities to perform within that certain interval using simple callback functions registered within the timer.

How to Use EDC file in Native Application

1 Introduction

EDC file stands for EDJE data collection. It is a file which contains the position, size, and other parameters of graphical elements that compose the visual aspect of an application. EDC file structure follows several blocks that contain properties description of graphical elements. An EDC file has the “.edc” extension. This tip document demonstrates how to use EDC file in native application to change different properties of graphical elements.