developing html5 applications for tizen

28
CONFIDENTIAL © MobCon Bulgaria. All rights reserved.

Upload: leon-anavi

Post on 15-Jul-2015

1.334 views

Category:

Technology


2 download

TRANSCRIPT

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.2

Developing HTML5 applications for Tizen

● @leonanavi● [email protected]

Leon Anavi

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.3

Tizen

● Open source Linux-based software platform● Project of the Linux Foundation● Suitable for all device areas: mobile,

wearable, embedded, IVI, IoT, etc.● Compatible with ARM and Intel architectures● Excellent HTML5 support

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.4

Tizen Devices

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.5

There's more...

A20-OLinuXino-MICRO Radxa Rock MinnowBoard MAX

ODROID-U3 Firefly-RK3288 HummingBoard-i2eX

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.6

Tizen 3 Profiles

Tizen:Common

Mobile Wearable IVI TV

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.7

Tizen SDK

● Mobile● Wearable● IVI● Tizen-based Samsung TV

https://developer.tizen.org/downloads/tizen-sdk

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.8

Tizen SDK Main Features

● Tizen IDE● Device Emulator (based on QEMU)● Web Simulator (based on Apache Ripple)● Smart Debug Bridge● Compatible with Linux, Windows and Mac OS

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.9

Tizen Architecture

Web applications

Web framework Native framework

Core components

Linux kernel and device drivers

Native applications

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.10

What's inside Tizen?

Linux kernel 3.14 LTS

Smack

RPM Package Manager

GNU C Library

GCC

Crosswalk

OpenSSL

SQLite

PulseAudio

Wayland & Weston

X11

EFL

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.11

Tizen Security Model

● Strong security through application sandboxes and resource access control

● Privileges to use APIs through Cynara● Isolation of applications at the kernel ground

with Smack

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.12

Tizen Security

Application

Smack

Application (Malware)

Resources

AllowDeny

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.13

Tizen Web Runtime

● Crosswalk web runtime for all Tizen 3 profile based on Tizen:Common

● Up to date version of Blink and Chromium● Up to date JavaScript APIs based on the web

standards● Tizen specific JavaScript APIs● https://crosswalk-project.org/

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.14

Why HTML5?

● Cross platform compatibility and support of multiple devices

● New JavaScript APIs and better capabilities

● Millions of web developers

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.15

Data Storage

● Web (local & session) storage ● IndexedDB● WebSQL● Tizen Filesystem API

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.16

Communication

● Messaging (SMS, MMS, e-mail)● Bluetooth● NFC● Push notifications● W3C web sockets

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.17

Multimedia

● Playing audio and video● Discovering images, video, and

music with Tizen Content API● Capturing photos, sounds, etc.

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.18

2D & 3D Graphics

● HTML5 Canvas● Animations● WebGL

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.19

System & Social APIs

● Accounts● Bookmarks, contact & call

history● Date & time, system settings ● Other: alarms, manage

applications, power management, FM Radio, etc.

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.20

Sensors

● W3C Geolocation API● W3C device vibration, motion

and orientation● Tizen Sensors API: light,

pressure, proximity, ultraviolet, magnetic sensors

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.21

Debugging and Testing

● Tizen web simulator● Tizen emulator● Samsung Remote Test Lab (RTL)● JavaScript Remote Inspector● Unit tests

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.22

Tizen HTML5 Apps Showcase

● Tizen App Challenge ● Applications & games● $4+ Million in prizes

https://developer.tizen.org/contests/tizen-app-challenge/top-10-html5-apps

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.23

Tizen IVI HMI (Modello)

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.24

Tizen IoT Showcase

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.25

Tizen IoT Resources

● https://www.olimex.com/Products/IoT/● https://github.com/esp8266/esp8266-

wiki/wiki● https://www.iotivity.org/● https://wiki.tizen.org/wiki/User:Pcoval● https://dockr.eurogiciel.fr/blogs/embedded/ta

g/iot/

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.26

Tizen Cookbook

● 30% discount code from Packt Publishing:

MOBCON

https://www.packtpub.com/application-development/tizen-cookbook

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.27

Join Tizen Community

● Tizen: https://www.tizen.org/● Tizen Wiki: https://wiki.tizen.org/ ● Tizen Developer: https://developer.tizen.org/● Tizen Source Code: https://source.tizen.org/● Report bugs: https://bugs.tizen.org/

CONFIDENTIAL © MobCon Bulgaria. All rights reserved.

Developing HTML5 applications for Tizen

Thank you!

Please give your feedback about this session and vote for your favorite MobDemo competitor on the MobCon app! 

● @leonanavi● [email protected]

28