34
Open Source Project TIZEN Ver2.3 Overview 2015.03.22

TIZEN Ver2.3 Overview€¢Open source components of Tizen –X Windows, Cairo, EFL for UI & Graphics –Gstreamer, PulseAudio, OpenAL for Multimedia –Connman, Bluez, libsoup, wpa_supplicant

  • Upload
    vanhanh

  • View
    219

  • Download
    0

Embed Size (px)

Citation preview

Open Source Project

T I Z E N

Ve r 2 . 3

O v e r v i ew

2015.03.22

1 Introduction to Tizen

2 How to Develop Tizen

Applications

3 Example of Tizen

Application

4 About Ajou Tizen

Supporters

I N D E X

3

1 Introduction to Tizen

• 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

• 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

• 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?

• 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?

8

TIZEN Architecture (Ver2.3)

9

Overall management of system devices/resources Linux Kernel

Provides infrastructure in which each application works seamlessly in the platform

Basic functions of mobile devices

TIZEN Architecture (Ver2.3)

10

TIZEN Native API Layout

11

W3C/HTML5 Device APIs

Web Runtime

Video Touch

CSS3 WebGL

Worker

BT Call

LBS NFC

Msg … …

Application

Web Framework

Web Application Native 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

TIZEN Architecture (Ver2.3)

• 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

2 How to Develop Tizen

Applications

14

Tizen Development Environment

W3C/HTML5 Device APIs

Web Runtime

Video Touch

CSS3 WebGL

Worker

BT Call

LBS NFC

Msg … …

Web Framework

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

Native Framework

• 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

• 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

• Web Apps

– “HTML5 + Javascript + CSS”- based 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

• 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

19

3 Example of Tizen Application

20

Hello TIZEN!

21

Hello EFL

1. File > New > Project

1.1 Tizen > Tizen Native Project

22

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

Hello EFL

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 EFL

24

5. You can see the page the source code at the same time

Hello EFL

25

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

Hello EFL

26

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

Hello EFL

27

Tizen API Reference

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

28

Tizen Open Source (github)

4 About Ajou Tizen Supporters

1) Google Site

2) Contacts

3) ETC

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

30

Google Site

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

31

Contacts

32

Development Reference

• 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

34

Reference Site