Current Android Release version:
Version Code: Pie
Version: 9
API level: 28

Showing posts with label Tizen OS. Show all posts
Showing posts with label Tizen OS. Show all posts

Tizen: Native Application Lifecycle

Every Application (UI application or service application) in an application package can be identified by its own ID.
The following figure shows the UI and service application life-cycle.


Tizen native application can be in one of the several states. Applications can be launched from the user by launcher or by another application.

Apps that use the Native API rely on a series of lifecycle events in order to operate; these events put the app in various states that enable certain controls or operations.


Tizen: Launching Applications ( Native)

Application framework starts the application by creating a new process and calling entry point of the application.

The main() function is entry of the application. In the Tizen application, the main task is to hand over control to the application framework by calling the ui_app_main() function



Tizen: Native App development Tools

Tizen provides following set of tools for developing native applications.
  • Native IDE: Development environment
  • Command Line Interface: Using this develop native applications without IDE
  • Dynamic Analyzer: This will monitor application performance.
  • UI Builder: To create UI
  • UI Effect Builder: Used to create interactive and time-based transition effects

Tizen: Web Application package format

Tizen platform supports Web applications based on HTML, JavaScript, and CSS.

Web application package extension:

  • File extension: .wgt (for example, Example.wgt)
  • MIME type: application/widget

Tizen: Native Application folder structure



src: soure files(.cpp)
inc: header files
res: resource files like images
data: readable/writable files and folders for application
lib: shared library files

The manifest.xml file is stored in the root folder of the project.


Native application package extension:
  • File extension: .tpk (for example, Example.tpk)
  • MIME type: application/x-tizen.package-archive

Tizen: Native application package extension

Tizen platform supports Native applications based on C++.

Native application package extension:
  • File extension: .tpk (for example, Example.tpk)
  • MIME type: application/x-tizen.package-archive

Tizen: Application Types

Tizen platform supports following types of Application types


  • Web Applications: Web apps are essentially a website stored on your device that are built using web-native languages like HTML/CSS and JavaScriptThey use the Tizen Web Framework to interact with the native subsystems and the Linux Kernel. Web apps are far more simple than native apps, however they are also more limited in their functionality.
  • Native Applications: is developed using C/C++ and can access more advanced device-specific features, such as camera, GPS, and accelerometer in addition to more advanced system settings and functionality.

    The native applications use the Native API, which provides all of the memory management and performance benefits that come with building applications for Linux in C. 
           
  • Hybrid Applications: Tizen platform also allows you to develop a hybrid application package where native and Web applications are packaged together to make more powerful applications.

Tizen Applications types

Tizen platform supports following types of Application types.

  • Web Applications: Web apps are essentially a website stored on your device that are built using web-native languages like HTML/CSS and JavaScriptThey use the Tizen Web Framework to interact with the native subsystems and the Linux Kernel. Web apps are far more simple than native apps, however they are also more limited in their functionality.
    • Pros:
              - Easy to learn and develop applications
              - Strong in portability

    • Cons: 
    •    - Does not work with out internet connection
         - Does not support some of device specific APIs like camera            and hardware sensors
  • Native Applications: is developed using C/C++ and can access more advanced device-specific features, such as camera, GPS, and accelerometer in addition to more advanced system settings and functionality.

    The native applications use the Native API, which provides all of the memory management and performance benefits that come with building applications for Linux in C. 
           
    • Pros:
                - Better in terms of performance and memory consumption
                - High responsiveness
                - Fast graphics rendering
    • Cons:
               - Run on one platform only

  • Hybrid Applications: Tizen platform also allows you to develop a hybrid application package where native and Web applications are packaged together to make more powerful applications.

Tizen Introduction and Architecture

Tizen is an operating system based on the Linux kernel and the GNU C Library implementing the Linux API. It works on a wide range of devices, including smartphones, tablets, in-vehicle infotainment (IVI) devices, smart TVs, PCs, smart cameras,wearable computing (such as smartwatches), Blu-ray players, printers and smart home appliances (such as refrigerators, lighting,washing machines, air conditioners, ovens/microwaves and a robotic vacuum cleaner). Its purpose is to offer a consistent user experience across devices. 

Tizen is a project within the Linux Foundation and is governed by a Technical Steering Group (TSG) composed of Samsung and Intel among others.
The following figure illustrates the Tizen architecture.


Tizen OS

Tizen is an operating system for devices including smartphones, tablets, in-vehicle infotainment (IVI) devices, and smart TVs. It's an open source system that aims to offers a consistent user experience across devices. Its main components are the Linux kernel, the Enlightenment Foundation Libraries (EFL) and the WebKit runtime. The Tizen project resides within the Linux Foundation and is governed by a Technical Steering Group (TSG) comprised of Intel and Samsung.


Tizen SDK:
https://developer.tizen.org/downloads/sdk