Dev Tips
Communication between Native Widget and UI App
PUBLISHED
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.
- Read more about Communication between Native Widget and UI App
Using Google Maps API for Distance measuring in Tizen Web
PUBLISHED
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 |
System Information Retrieval for GPS and Data Roaming
PUBLISHED
Introduction
Retrieval of runtime information is an important feature while developing certain type of applications. This tip document will describe how to check GPS (enable/disable) and Data Roaming (enable/disable) information on Tizen devices.
C++ for Tizen Native Application
PUBLISHED
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
PUBLISHED
Environment
It occurs under the following conditions:
- Old workspace used in previous versions of Tizen SDK.
- The Tizen Web, Tizen Native and Tizen Native UI Builder perspectives were used.
- The Tizen Native or Tizen Native Builder perspective was last used.
- After installing the latest Tizen Studio using the installer without install other tools using package manager.
Sample Web Application development using Command Line Interface
PUBLISHED
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
PUBLISHED
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
PUBLISHED
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
PUBLISHED
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.
Using Proximity Sensor in Tizen Native Application
PUBLISHED
Introduction
The proximity sensor measures distance of an object from the front of a phone. It is commonly used on smart devices to detect (and skip) accidental touchscreen taps when held to the ear during a call. When developing application using proximity sensor, consider the following: