Top Banner
Open Source Project TIZEN Overview 2014.09.22
35

TIZEN Overview

May 28, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: TIZEN Overview

Open Source Project

T I Z E N O v e r v i ew

2014.09.22

Page 2: TIZEN Overview

1Introduction to Tizen

2How to Develop Tizen

Applications

3Example of Tizen

Application

4About Ajou Tizen

Supporters

I N D E X

Page 3: TIZEN Overview

3

1Introduction to Tizen

Page 4: TIZEN Overview

• Android’s market share – 70%

• Patent fee - Android platform and its associated technologies

• Competition between mobile device manufacturers

• Necessity for an alternative OS

• TIZEN, Firefox OS, Ubuntu Mobile

4

Background

Page 5: TIZEN Overview

• Computing Platform

– Environment that an applications can be developed and executed on

– Platform ☞ Hardware + Operating System + Run-time libraries

– Includes services and open API’s

5

Background of Platform

Page 6: TIZEN Overview

• A project within Linux Foundation for a Smart Device OS

• Technical Steering Group: Samsung & Intel

• Open Source Platform Based on Linux kernel GNU C library

• Current(March 2015) release - TIZEN 2.3

• Application Type– Web app(HTML5/Javascript + CSS)

– Native app(C language)

– Hybird app(Web + Native)

6

What is TIZEN?

Page 7: TIZEN Overview

• Open source components of Tizen– X Windows, Cairo, EFL for UI & Graphics– Gstreamer, PulseAudio, OpenAL for Multimedia– Connman, Bluez, libsoup, wpa_supplicant for

Connectivity– WebKit2 for Web– SMACK & OpenSSL for Security– Dbus, glibc for Base– Sqlite for Database & PIM– Linux for OS Kernel– Eclipse for Tizen SDK– QEMU, U-Boot for Target Emulator– GCC, llvm, cmake, gbs for build– Etc….

7

What is TIZEN?

Page 8: TIZEN Overview

8

TIZEN Architecture

W3C/HTML5W3C/HTML5 Device APIsDevice APIs

Web RuntimeWeb Runtime

VideoVideo TouchTouch

CSS3CSS3 WebGLWebGL

WorkerWorker

BTBT CallCall

LBLB NFCNFC

MsgMsg… …

Web Framework

Kernel

Core Framework

ApplicationFrameworkApplicationFramework

Graphics & UIGraphics & UI MultimediaMultimedia WebWeb MessagingMessaging LocationLocation

SecuritySecurity SystemSystem BaseBase ConnectivityConnectivity TelephonyTelephony PIMPIM

Linux Kernel & device driversLinux Kernel & device drivers

Web ApplicationWeb Application

Native ApplicationNative Application

Page 9: TIZEN Overview

9

TIZEN Architecture

Kernel

Linux Kernel & device driversLinux Kernel & device drivers

Overall management of system devices/resources Linux Kernel

Core Framework

ApplicationFrameworkApplicationFramework

Graphics & UIGraphics & UI MultimediaMultimedia WebWeb MessagingMessaging LocationLocation

SecuritySecurity SystemSystem BaseBase ConnectivityConnectivity TelephonyTelephony PIMPIM

Provides infrastructure in which each application works seamlessly in the platform

Basic functions of mobile devices

Page 10: TIZEN Overview

10

TIZEN Core Services of Mobile

Page 11: TIZEN Overview

11

TIZEN Architecture

W3C/HTML5W3C/HTML5 Device APIsDevice APIs

Web RuntimeWeb Runtime

VideoVideo TouchTouch

CSS3CSS3 WebGLWebGL

WorkerWorker

BTBT CallCall

LBSLBS NFCNFC

MsgMsg… …

Application

Web Framework

Web ApplicationWeb Application Native ApplicationNative Application

Public API

API, Data Structure, and UI for Tizen App development Web Framework – HTML5/Javascript API, Device API

• API based on C for developing Native Application

Page 12: TIZEN Overview

• Tizen is Based on Standards

– Strongly supports HTML5

• Tizen is OPEN

• Tizen is Heterogeneous

– Designed to be used for various devices(profiles)

12

Reasons for Programming in Tizen

Page 13: TIZEN Overview

2How to Develop Tizen

Applications

Page 14: TIZEN Overview

14

Tizen Development Environment

W3C/HTML5W3C/HTML5 Device APIsDevice APIs

Web RuntimeWeb Runtime

VideoVideo TouchTouch

CSS3CSS3 WebGLWebGL

WorkerWorker

BTBT CallCall

LBSLBS NFCNFC

MsgMsg… …

Web Framework

Web Framework – HTML5, Javascript API Native Application - Tizen API based on C

Page 15: TIZEN Overview

• Web Apps – Web Application development environment – since Tizen 1.0

– Included in Tizen SDK

– Various sample applications

– Plans for Samsung smart TV’s with Tizen OS supporting web applications

15

Tizen Applications

Page 16: TIZEN Overview

• Web Apps Fundamental– W3C/HTML5

– Device API

– JqueryMobile base UI

• Device API– Based on JavaScript

– Provides access to Platform Device

– Device resources

– Asynchronous Success callback Function

16

Tizen Applications

Page 17: TIZEN Overview

• Web Apps

– HTML5 + Javascript + CSS 기반으로Running

– Package file: *.wgt

17

Tizen Application Package

Name Description

config.xml Application configuration data

icon.png Application Default icon

index.html Application Default start file

css/ CSS source file directory

js/ Javascript file directory

Web application Package contents

Page 18: TIZEN Overview

• Native Apps

– C and Tizen native API

– Package file: *.tpk

18

Tizen Application Package

Name Description

manifest.xml Application configuration data

resource/ Application Resource data

src/ Application source file

inc/ Application include header file

data/ Application Private data

lib/ Application library directory

shared/ Sharable directory between application

Native application Package contents

Page 19: TIZEN Overview

19

3Example of Tizen Application

Page 20: TIZEN Overview

20

Hello TIZEN!

Page 21: TIZEN Overview

21

Hello World

1. File > New > Tizen Web Project

Page 22: TIZEN Overview

22

2. Go to Templete > Basic > Basic Application , type in the project name and Enter

Hello World

Page 23: TIZEN Overview

23

You must have a security profile

before running an application

3. menu > Window > Preferences

4. Go to Security Profiles tab under

Tizen SDK, and click Add

After adding a profile name, click

Generate to use the Certificate

Generator

Fill out the required field(*) and click OK

Hello World

Page 24: TIZEN Overview

24

5. You can see the page design and the source code at the same time by opening index.html

Hello World

Page 25: TIZEN Overview

25

6. Click the left-most icon in the Connection Explorer to generate and start a Tizen emulator

Hello World

Page 26: TIZEN Overview

26

7. After an emulator is generated and turned on, you can run the project as a Tizen Web Application

Hello World

Page 27: TIZEN Overview

27

8. Tizen Web provides the Simulator to simulate sensor inputs or options to verify you applications

you can use the TizenWeb Simulator by going to Run as > Tizen Web Simulator(Google Chrome is required)

Hello World

Page 28: TIZEN Overview

28

Tizen API Reference

• https://developer.tizen.org/ provides the API documentation under Develop menu

Page 29: TIZEN Overview

29

Tizen Open Source (github)

Page 30: TIZEN Overview

4About Ajou Tizen Supporters

1) Google Site

2) Contacts

3) ETC

Page 31: TIZEN Overview

• https://sites.google.com/site/ajoutizencommunity

31

Google Site

Page 32: TIZEN Overview

Name Lab E-Mail Address Phone Number

Kwon, YongJae Paldal 1004-1 [email protected] 010-4412-5075

Lee, Seung-Kyu Paldal 1004-1 [email protected] 010-8526-5127

Park, Hyun-Ju Paldal 913 [email protected] 010-9338-0955

32

Contacts

Page 33: TIZEN Overview

33

Development Reference

Page 34: TIZEN Overview

34

Development Guide

https://developer.tizen.org/documentation/dev-guide/2.2.1

Page 35: TIZEN Overview

• Tizen official websites

– https://tizen.org

• Tizen SDK download and Events checking.

– mailing list & IRC

• IRC: discussion, troubleshooting, collaboration, chatting with other contributors

– source code: https://review.tizen.org/git/

– code review: https://review.tizen.org/gerrit/

– wiki: https://wiki.tizen.org

35

Reference Site