Contenu connexe Similaire à Developing HTML5 applications for Tizen (20) Developing HTML5 applications for Tizen2. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.2
Developing HTML5 applications for Tizen
●
@leonanavi●
leon@anavi.org
Leon Anavi
3. 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
5. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.5
There's more...
A20-OLinuXino-MICRO Radxa Rock MinnowBoard MAX
ODROID-U3 Firefly-RK3288 HummingBoard-i2eX
6. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.6
Tizen 3 Profiles
Tizen:Common
Mobile Wearable IVI TV
7. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.7
Tizen SDK
●
Mobile
●
Wearable
●
IVI
●
Tizen-based Samsung TV
https://developer.tizen.org/downloads/tizen-sdk
8. 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
9. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.9
Tizen Architecture
Web applications
Web framework Native framework
Core components
Linux kernel and device drivers
Native applications
10. 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
11. 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
12. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.12
Tizen Security
Application
Smack
Application (Malware)
Resources
Allow
Deny
13. 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/
14. 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
15. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.15
Data Storage
●
Web (local & session) storage
●
IndexedDB
●
WebSQL
●
Tizen Filesystem API
16. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.16
Communication
●
Messaging (SMS, MMS, e-mail)
●
Bluetooth
●
NFC
●
Push notifications
●
W3C web sockets
17. 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.
18. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.18
2D & 3D Graphics
●
HTML5 Canvas
●
Animations
●
WebGL
19. 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.
20. 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
21. 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
22. 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
25. 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/
26. CONFIDENTIAL © MobCon Bulgaria. All rights reserved.26
Tizen Cookbook
●
30% discount code from
Packt Publishing:
MOBCON
https://www.packtpub.com/applicatio
n-development/tizen-cookbook
27. 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/
28. 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●
leon@anavi.org
28