Developing Tizen Operating System Based Solutions - IDF2013 Beijing

37
Developing Tizen * Operating System Based Solutions Chris Norman, Sr. Technical Marketing Engineer, Intel Horace Li, Sr. Technical Marketing Engineer, Intel SFTS004

description

Developing Tizen Operating System Based Solutions Intel Developer Forum 2013, Beijing

Transcript of Developing Tizen Operating System Based Solutions - IDF2013 Beijing

Page 1: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

Developing Tizen* Operating System Based Solutions

Chris Norman, Sr. Technical Marketing Engineer, Intel Horace Li, Sr. Technical Marketing Engineer, Intel

SFTS004

Page 2: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

2

Agenda

• Tizen* Overview • Tizen for Platform Developers • Tizen for Application Developers • Summary • Q&A

The PDF for this Session presentation is available from our Technical Session Catalog at the end of the day at: intel.com/go/idfsessionsBJ

URL is on top of Session Agenda Pages in Pocket Guide

Page 3: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

3

Tizen* Overview

Page 4: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

4

What is The Tizen* Software Platform?

• A robust and flexible Open Source standards-based software platform based on HTML5

• For smartphones, tablets, in-vehicle infotainment (IVI) devices, smart TVs, clamshells and more

• Innovative OS, applications, and a user experience that consumers can take from device to device

• Allows OEM flexibility to customize

Page 5: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

5

Tizen* Vision

HTML5 Leadership Truly Open Innovation and Differentiation Industry Leaders Support

Freedom to drive HTML5 innovations without speed bumps

Equal opportunity to shape direction

Freedom to innovative

Industry leaders unite around a common OS and app store

Multiple OS’s and devices

Not controlled by a single entity

Freedom to differentiate

Multiple choices at every level of the stack

Ability to leverage existing web apps & tools

No restrictions on applications/ services

Robust developer program to deliver innovative apps

W3C API support Open governance

HTML5 Leadership

Truly Open

Innovation and Differentiation

Industry Leaders Support

Delight consumers and enable ecosystem partner differentiation with a cross-device, cross-architecture, open software platform based on a

comprehensive standards-based HTML5 implementation

Page 6: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

6

0

100

200

300

400

500

600

Feb-08 Jul-09 Nov-10 Apr-12 Aug-13

iOS Android Firefox Opera

Windows WebOS Blackberry Tizen

As of 2.0 release, Tizen* OS Leads All Mobile Platforms in Support of HTML5

Highest on both html5test score and bonus points – 492 out of possible 500!

Receives max bonus points of16

html5test.com scores

Tizen also best in class for Ringmark – which measures

functionality needed to develop mobile apps

Tizen* is also best in class for Ringmark – which measures functionality

needed to develop mobile apps

* * * * * * *

Page 7: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

7

Tizen* Web Application Environment

• One Web API across all Tizen* profiles, ensuring application portability

• Web API relies on upstream standards (W3C and others) and aggressively implements early API drafts – Utilizes all W3C defined HTML5 environment and APIs

– Leverages other W3C standardization efforts (for battery, sensors, etc.)

• Adds new APIs only when there are no existing standards

• Participate in standardization efforts to influence and accelerate relevant specifications

Page 8: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

8

Developer Benefits of HTML5

• HTML5 is the primary development environment for Tizen* Apps

• Widely adopted technology – Speeds app delivery across multiple OS platforms and

devices

• Flexible distribution model • Create Web-powered apps with rich multimedia

user experiences • Create new-style, full screen, immersive,

beautiful Web-powered apps – Designed and optimized for touch

Page 9: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

9

Tizen* 2.0 Source Code and SDK Release

• Enhanced Web framework provides state-of-the-art HTML5/W3C API support

• Web UI framework, including full-screen and multi-window support

• Additional Tizen* device APIs such as Bluetooth® Technology and NFC support

• Enhanced Web Runtime framework

Page 10: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

10

• Native framework supporting full-featured app development

• Middleware functionalities such as support for background apps, IP Push, and TTS (Text-To-Speech)

• Core and native reference apps including Calendar, Contacts, Gallery, Phone, Settings and Video Player

• Enhanced Web IDE providing What you See is What You Get (WYSIWYG) design environment, Chrome*-based JavaScript* inspector, and JavaScript log viewer

• Native IDE providing a project wizard, WYSIWYG design environment, unit test tool, and dynamic analyzer

Tizen* 2.0 Source Code and SDK Release

Page 11: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

11

Tizen* Architecture http://developer.tizen.org

Linux* kernel & device drivers

Security System Base Connectivity Telephony PIM

App Framework Graphics & UI Multimedia Location Messaging Web

Web Framework

W3C/HTML5

Video

CSS3

Worker

Touch

WebGL

Device APIs

BT

LBS

Message

Call

NFC

… Web

Runtime

Web Applications

Native Framework

Native Applications

Social/Content Locations Uix Media Web/Xml

Net/Telephony/Messaging Graphics/UI

Base/IO/Text/Locales App/Security/System services

http://source.tizen.org

BT= Bluetooth® Technology LBS = Location Based Services NFC = Near Field Communications

Page 12: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

12

Tizen* OS Web Framework • Accommodates and leverages most up-to-date Web

technologies • Provides a large number of HTML5 functionalities

defined by W3C and other standardization groups • Defines various new device APIs, which enable you

to access device functionalities – The device functionalities are provided with a strict rule-

based security control system that restricts the malicious use of the device APIs

Page 13: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

13

Tizen* OS Native Framework • Composed of system services and a set of native

namespaces across various domains providing more than 10,000 open APIs – Namespaces include Base, I/O, App, Security, Graphics, Ui,

Net, Messaging, Social, Locations and Web

• Provides popular standard open source libraries, such as glibc, libstdc++, libxml2, OpenGL* ES, OpenAL, and OpenMP*

Page 14: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

14

Tizen* OS for Platform Developers

Page 15: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

15

Developing Tizen* OS Solution

• Tizen.org maintains the Tizen* OS upstream project, which includes open source components only

• An OSV can develop a Tizen OS commercial solution

• OSV’s value–add can include – BSP integration, kernel customization – Proprietary component integration – Application development – Performance optimization and product validation – Customization and system integration

Page 16: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

16

Red Flag* Software Tizen* OS IVI Solution • Red Flag* Software is working on a Tizen* 2.0

based IVI solution • Focus areas

– Additional 3rd party native app framework integration like Gtk, Clutter

– Proprietary components integration, like voice recognition engine, traffic sign recognition, navigation components, etc.

– System boot-up optimization – And much more

Page 17: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

17

OSV’s Value-add – Case Study • Mapping Red Flag* Software’s work to OSV’s value-add

OSV’s Value-add Red Flag’s work BSP integration, kernel customization, hardware platform enabling

Red Flag Software rebuilt kernel with customized configuration; rebuilt mesa, Xorg drivers to enable addition features, like OpenGL* support.

Proprietary components integration

Red Flag Software integrated traffic sign recognition engine, voice recognition engine, navigation, and other proprietary components.

Applications development

Red Flag Software developed VehicleMeter web app, Pathbook, Musicplayer, Browser, etc.

Performance optimization, product validation

Red Flag Software optimized system bootup mechanism for fast boot. Red Flag Software uses its own building system and image creator tools for production.

Page 18: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

18

Red Flag* Software Tizen* OS IVI Solution

Page 19: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

19

Tizen* OS Compliance • Tizen* OS Compliance is designed to ensure mobile

device implementations and applications work together – Mobile device implementations: if implemented to a

profile, a device will provide a consistent behavior defined by that profile to applications, and provide a consistent user experience

– Applications: if built to this specification, applications will run on compliant devices which implement the APIs it uses. Applications MAY be targeted to a specific profile if necessary

Page 20: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

20

Tizen* OS Compliance Model • The Tizen* OS compliance model consists of two

main areas – Tizen Common Platform: the set of features and APIs

common across all Tizen platforms and required by every platform. The common platform is defined to reduce the effort of porting compliant applications from one device profile to another and maximize code re-use across profiles

– Tizen Profiles: targeted requirements for specific device categories which layer on top of the Tizen Common Platform, including additional components for devices, APIs, and hardware requirements

Page 21: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

21

Tizen* OS Compliance Profiles

• The current profile is – Mobile: Handsets, tablets

• Additional profiles are expected in the future, possibly including – IVI: In-Vehicle Infotainment systems – TV: DTV/STB/IPTV systems – Clamshell: notebook style laptops – Camera: Cameras – Printer: Printers

Page 22: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

22

Package Development Procedure

Gerrit Git Local Git OBS Product Project

push

review reject

accept & merge to git

Developer Developers & Reviewers Release Engineers

Release

QA

Manual-action Auto-action

submit SR to OBS which triggered by the tag

Image creation

‘gbs-submit’

Page 23: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

23

Source Code Management

• Git – A particularly powerful, flexible, and low-overhead

version control system that makes collaborative development efficient and robust

– https://review.tizen.org/git/ • Gerrit

– A web-based code review system, facilitating online code reviews for projects using Git version control system

– Gerrit optimizes the code review process, enhancing review quality

– Gerrit simplifies the maintenance of the Git-based projects, enabling a more centralized use of Git

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

Page 24: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

24

Git Building System

• GBS (git-build-system) is a developer command line tool that supports Tizen* OS package development

• It's used to generate tarballs based on Git repositories, to do local test buildings, and to submit code to OBS (Tizen's main build service)

• To use GBS, a development environment needs to be set up ready first – Detailed instruction

https://source.tizen.org/documentation/developer-guide/environment-setup/

Page 25: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

25

Image Creation

• MIC is an image creator. It's used to create images for Tizen*.

• Users can create images of different types for different verticals, including live CD images, live USB images, raw images for KVM, loop images for IVI platforms, and fs images for chrooting

• Users can chroot into an image using MIC's enhanced chroot command

• MIC enables converting an image to another image format, a very useful function for those sensitive to image format

Page 26: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

26

Tizen* OS Bug Tracking

• Tizen* uses JIRA to track bugs and to gather feature requests – https://bugs.tizen.org/jira/secure/Dashboard.jspa

• Developers need a Tizen account created to – Add a new bug – Comment on an existing bug – Submit a patch to fix bug

• To work on Tizen bug reporting and tracking, a set of guidelines are defined – https://www.tizen.org/community/guidelines/bug-

guidelines.

Page 27: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

27

Tizen* OS Bug Tracking Workflow

• Get Started

• Search First

• Create an issue

• Add as many details as possible

Create

Accepted

Resolved

Released Close

New

Needinfo Triaged

Reopened

Page 28: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

28

Tizen* OS for Application Developers

Page 29: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

29

Tizen* Software Development Kit

Platform Binaries and

Libraries

IDE

Header Files Tools

Sample Apps

Includes all of the tools, documentation, and resources to create Tizen* Web applications (using Tizen Web API) and Tizen Native Applications (using the Tizen Native API)

Page 30: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

30

SDK IDE and Tools

• SDK IDE – A development environment with a set of coding and

development tools

• Command Line Interface – This tool is the IDE functional tool in the Tizen* SDK

• UI Builder – This WYSIWYG (What You See Is What You Get) design

environment tool is used to create user interfaces

• Web Simulator – This tool allows you to run your Web applications to

develop and debug them

Page 31: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

31

Tizen* Web App Development Cycle

Features • Eclipse* based IDE • Cross-OS support • Deploy/debug with

VM or device • Device emulation • Target Platforms

– Current: x86/ARM Handheld

– TBD: IVI

Develop Debug Package

Web app pkg format (.wgt) or Native App (.TPK)

Virtual Machine

Tizen* SDK

On device

QEMU QEMU Emulator

Linux* & Windows* Host Workstation WebKit

runtime

Simulator

Distribute

App Store

Page 32: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

32

Summary

Page 33: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

33

Tizen* Summary

HTML5 Leadership Truly Open Innovation and Differentiation Industry Leaders Support

Freedom to drive HTML5 innovations without speed bumps

Equal opportunity to shape direction

Freedom to innovative

Industry leaders unite around a common OS and app store

Multiple OS’s and devices

Not controlled by a single entity

Freedom to differentiate

Multiple choices at every level of the stack

Ability to leverage existing web apps & tools

No restrictions on applications/ services

Robust developer program to deliver innovative apps

W3C API support Open governance

HTML5 Leadership

Truly Open

Innovation and Differentiation

Industry Leaders Support

Delight consumers and enable ecosystem partner differentiation with a cross-device, cross-architecture, open software platform based on a

comprehensive standards-based HTML5 implementation

Page 34: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

34

Summary • The Tizen* software platform is a robust and flexible

Open Source platform highlighting best-in-class HTML5 support

• Tizen is customizable and open for OSV/OEM to do innovation

• Tizen provides a set of tools and defines working process for developers to collaborate on OS and application development

• Opportunities for OSV to provide value-add

Page 35: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

35

Additional Sources of Information :

Information

[SFTL004] Tizen* Hands-on Lab Room 302AB, April 11 13:15 & 15:45

Tizen Automotive Solutions on Intel® Architecture demo

Technology Showcase E103

Tizen Project https://www.tizen.org

Tizen OS Development https://source.tizen.org/ documentation

Developing Tizen Web Applications https://developer.tizen.org/

Tizen Developer Conference May 22-24, 2013

HTML5 Experience Zone Across Technology Showcase Exhibit Hall

Exhibit Hall (4F)

Page 36: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

36

Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. • A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in

personal injury or death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION, YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH, HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION, WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS PARTS.

• Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information.

• The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.

• Intel product plans in this presentation do not constitute Intel plan of record product roadmaps. Please contact your Intel representative to obtain Intel's current plan of record product roadmaps.

• Intel processor numbers are not a measure of performance. Processor numbers differentiate features within each processor family, not across different processor families. Go to: http://www.intel.com/products/processor_number.

• Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. • Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be

obtained by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm • The Bluetooth® word mark and logos are registered trademarks owned by Bluetooth SIG, Inc. and any use of such marks by

Intel is under license • Tizen is a trademark of the Linux Foundation • Intel, Sponsors of Tomorrow and the Intel logo are trademarks of Intel Corporation in the United States and other countries.

• *Other names and brands may be claimed as the property of others. • Copyright ©2013 Intel Corporation.

Page 37: Developing Tizen Operating System Based Solutions - IDF2013 Beijing

37

Risk Factors The above statements and any others in this document that refer to plans and expectations for the first quarter, the year and the future are forward-looking statements that involve a number of risks and uncertainties. Words such as “anticipates,” “expects,” “intends,” “plans,” “believes,” “seeks,” “estimates,” “may,” “will,” “should” and their variations identify forward-looking statements. Statements that refer to or are based on projections, uncertain events or assumptions also identify forward-looking statements. Many factors could affect Intel’s actual results, and variances from Intel’s current expectations regarding such factors could cause actual results to differ materially from those expressed in these forward-looking statements. Intel presently considers the following to be the important factors that could cause actual results to differ materially from the company’s expectations. Demand could be different from Intel's expectations due to factors including changes in business and economic conditions; customer acceptance of Intel’s and competitors’ products; supply constraints and other disruptions affecting customers; changes in customer order patterns including order cancellations; and changes in the level of inventory at customers. Uncertainty in global economic and financial conditions poses a risk that consumers and businesses may defer purchases in response to negative financial events, which could negatively affect product demand and other related matters. Intel operates in intensely competitive industries that are characterized by a high percentage of costs that are fixed or difficult to reduce in the short term and product demand that is highly variable and difficult to forecast. Revenue and the gross margin percentage are affected by the timing of Intel product introductions and the demand for and market acceptance of Intel's products; actions taken by Intel's competitors, including product offerings and introductions, marketing programs and pricing pressures and Intel’s response to such actions; and Intel’s ability to respond quickly to technological developments and to incorporate new features into its products. The gross margin percentage could vary significantly from expectations based on capacity utilization; variations in inventory valuation, including variations related to the timing of qualifying products for sale; changes in revenue levels; segment product mix; the timing and execution of the manufacturing ramp and associated costs; start-up costs; excess or obsolete inventory; changes in unit costs; defects or disruptions in the supply of materials or resources; product manufacturing quality/yields; and impairments of long-lived assets, including manufacturing, assembly/test and intangible assets. Intel's results could be affected by adverse economic, social, political and physical/infrastructure conditions in countries where Intel, its customers or its suppliers operate, including military conflict and other security risks, natural disasters, infrastructure disruptions, health concerns and fluctuations in currency exchange rates. Expenses, particularly certain marketing and compensation expenses, as well as restructuring and asset impairment charges, vary depending on the level of demand for Intel's products and the level of revenue and profits. Intel’s results could be affected by the timing of closing of acquisitions and divestitures. Intel’s current chief executive officer plans to retire in May 2013 and the Board of Directors is working to choose a successor. The succession and transition process may have a direct and/or indirect effect on the business and operations of the company. In connection with the appointment of the new CEO, the company will seek to retain our executive management team (some of whom are being considered for the CEO position), and keep employees focused on achieving the company’s strategic goals and objectives. Intel's results could be affected by adverse effects associated with product defects and errata (deviations from published specifications), and by litigation or regulatory matters involving intellectual property, stockholder, consumer, antitrust, disclosure and other issues, such as the litigation and regulatory matters described in Intel's SEC reports. An unfavorable ruling could include monetary damages or an injunction prohibiting Intel from manufacturing or selling one or more products, precluding particular business practices, impacting Intel’s ability to design its products, or requiring other remedies such as compulsory licensing of intellectual property. A detailed discussion of these and other factors that could affect Intel’s results is included in Intel’s SEC filings, including the company’s most recent Form 10-Q, report on Form 10-K and earnings release. Rev. 1/17/13