SlideShare a Scribd company logo
1 of 41
Download to read offline
Tizen SDK and Web App Development
                          Cheng Luo
                        LinuxCon Europe 2012




Monday, 5 November 12
Agenda

   • Tizen              2.0 alpha SDK

   • Web            app development




Monday, 5 November 12
Tizen 2.0 alpha SDK

   •   IDE - Eclipse based

   •   Emulator - qemu based

   •   Web based (Chrome) simulator

   •   UI Builder

   •   Event Injector

   •   Remote inspector /Firebug

   •   Documentations & Sample codes

Monday, 5 November 12
Installing SDK

   • The          SDK supports Windows and Ubuntu

   • The          SDK Mac version is coming soon

   • InstallationManager supports the snapshot-based or SDK
       image-based installation

   • Pay  attention to prerequisites, specially on Ubuntu (JDK, JRE,
       qemu, VTx support and etc.)



Monday, 5 November 12
Monday, 5 November 12
Install JDK on Ubuntu

   • Tizen              IDE is based on Oracle Java v7, not OpenJDK

   • Oracle              doesn’t allow re-distribute Java packages, so...

   • oab-java6             a good script for installing oracle-jdk, oracle-jre on
       Ubuntu

   • still need some tweaks to install the latest JDK-7u9 with oab-
       java6☞


    ☞: https://github.com/flexiondotorg/oab-java6
Monday, 5 November 12
Running IDE on Ubuntu

   • Install            libwebkitgtk-1.0-0, if you get error such as☞:

       Exception in thread "main" org.eclipse.swt.SWTError: No more
       handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]


   • Install            Ajax Tool Framework (ATF) if Event Injector is not shown☞




     ☞: http://tronprog.blogspot.co.uk/2012/05/eclipse-internal-web-browser-in-kubuntu.html

          http://wiki.eclipse.org/ATF/Installing
Monday, 5 November 12
Tizen 2.0 alpha new features




r Monday, 5 November 12
Tizen 2.0 alpha new features

                          Enhanced HTML5
                    WebKit2 WRT           screen orientation
                      multi-process              APIs
                    video subtitles    video caption
                   keygen details     battery status




r Monday, 5 November 12
Tizen 2.0 alpha new features

                          Enhanced HTML5                       Better IDE & SDK
                    WebKit2 WRT           screen orientation
                                                                smart installer
                      multi-process              APIs                                 snapshot-based
                    video subtitles    video caption           enhanced openGL ES       installation

                   keygen details     battery status            UI Builder        WebGL accelerated
                                                                                     emulator




r Monday, 5 November 12
Tizen 2.0 alpha new features

                          Enhanced HTML5                         Better IDE & SDK
                    WebKit2 WRT           screen orientation
                                                                  smart installer
                      multi-process              APIs                                   snapshot-based
                    video subtitles    video caption             enhanced openGL ES       installation

                   keygen details     battery status              UI Builder        WebGL accelerated
                                                                                       emulator

                                Web UI FW
                 content selection      shortcut scroll widget
                      context menu auto-divider
                expandable list
                                  virtual list



r Monday, 5 November 12
Tizen 2.0 alpha new features

                          Enhanced HTML5                         Better IDE & SDK
                    WebKit2 WRT           screen orientation
                                                                  smart installer
                      multi-process              APIs                                   snapshot-based
                    video subtitles    video caption             enhanced openGL ES       installation

                   keygen details     battery status              UI Builder        WebGL accelerated
                                                                                       emulator

                                Web UI FW                             More Device APIs
                 content selection      shortcut scroll widget
                                                                   download APIs    notification APIs
                      context menu auto-divider
                expandable list                                                power control
                                  virtual list



r Monday, 5 November 12
Web apps on Tizen




Monday, 5 November 12
Web Apps
                            Mobile site           Hosted app             Packaged app
      UI                web page             generic UI               generic/native

      Store             search engine        app stores               app stores

                                             only add a manifest file
                        no need to install                           offline launching
      Pros              no memory footage
                                             low maintenance/memory
                                                                     access to device s APIs
                                             footage

                        security risk
      Cons              limited features
                                             require a server         maintenance




Monday, 5 November 12
Mobile Web


      <?xml&version="1.0"%encoding="UTF18"?>%

      <widget&xmlns="http://www.w3.org/ns/widgets"%
      xmlns:tizen="http://tizen.org/ns/widgets"%version="2.0%Beta"%
      viewmodes="fullscreen"%id="http://yourdomain/FacebookApp">%%%
      <icon&src="icon.png"/>%%%
      <content&src="http://m.facebook.com"/>%%%
      <name>FacebookApp</name>&
      <access&origin&=&"*"/>%
      </widget>&




Monday, 5 November 12
Mobile Web
                                                                      EA SY




      <?xml&version="1.0"%encoding="UTF18"?>%

      <widget&xmlns="http://www.w3.org/ns/widgets"%
      xmlns:tizen="http://tizen.org/ns/widgets"%version="2.0%Beta"%
      viewmodes="fullscreen"%id="http://yourdomain/FacebookApp">%%%
      <icon&src="icon.png"/>%%%
      <content&src="http://m.facebook.com"/>%%%
      <name>FacebookApp</name>&
      <access&origin&=&"*"/>%
      </widget>&




Monday, 5 November 12
Other Web Apps

                        webOS                       WebWorks                   Tizen

                                                                               tizen, Application,
                        enyo.kind, enyo.Animator,                              SystemInfo,
    Core                                            Core API
                        enyo.Signals,                                          Notification, HTML5,
                                                                               CSS3

    AJAX                enyo.Aync, xhr, json, cookie jQuery.get, XMLHttpRquest jQuery.get

    Touch               Touch, ScrollMath,                                     jQuery touch events,
                                                    jQuery touch events
    events              ScrollStrategy, Scoller                                Tizen events

                                                                               jQueryMobile, Tizen
    UI                  onyx                        CSS
                                                                               Web UI


Monday, 5 November 12
Other Web Apps
                                                                         RITE
                                                                      REW
                                                              DE
                                                           CO
                        webOS                       WebWorks                   Tizen

                                                                               tizen, Application,
                        enyo.kind, enyo.Animator,                              SystemInfo,
    Core                                            Core API
                        enyo.Signals,                                          Notification, HTML5,
                                                                               CSS3

    AJAX                enyo.Aync, xhr, json, cookie jQuery.get, XMLHttpRquest jQuery.get

    Touch               Touch, ScrollMath,                                     jQuery touch events,
                                                    jQuery touch events
    events              ScrollStrategy, Scoller                                Tizen events

                                                                               jQueryMobile, Tizen
    UI                  onyx                        CSS
                                                                               Web UI


Monday, 5 November 12
HTML5




Monday, 5 November 12
HTML5    CK
                               LU
                            OD
                          GO




Monday, 5 November 12
Webkit-efl Rendering Flow

                        web view            Javascript
                                                                    Web core
                                               core

                            Evas Object
                                 (buffer)




                         UI FW              Cairo               Evas & Ecore


                                                         X Server

                         OpenGL ES/GL



Monday, 5 November 12
HTML5 compatibility test




Monday, 5 November 12
HTML5 compatibility test



                                    .1
                                  NO




Monday, 5 November 12
Tizen Device API




Monday, 5 November 12
Tizen Device API
                                              System Info
                        Alarm                                 LBS
                                Bluetooth
                                                 Filesystem
                  Application                                 Media Content
                                    Call
                                               NFC     Geocoder
                         Calendar
                                                                    Messaging
                                           Contact
                        Power
                                                     Time     Download
                                Notification

Monday, 5 November 12
Demo




Monday, 5 November 12
Monday, 5 November 12
Build your UI

   • Tizen              web UI framework

   • jQuery              Mobile

   • CSS3               animation




Monday, 5 November 12
Tizen Web UI vs Native



                                 vs.




Monday, 5 November 12
CSS3 animation - Flipboard




Monday, 5 November 12
CSS3 animation - Flipboard




Monday, 5 November 12
Porting web apps




Monday, 5 November 12
Case study: webOS Onyx




Monday, 5 November 12
Demo




Monday, 5 November 12
Monday, 5 November 12
Case Study: BlackBerry Aura




                        Portrait   Landscape


Monday, 5 November 12
After porting




Monday, 5 November 12
Screen Resolution
                                             720




                        1024
                                                9:16
   1280

                             17:10
   600




                        Playbook             Tizen HD


Monday, 5 November 12
Device API
                   var	
  acc	
  =	
  new	
  Vector(0,0);
                   acc.x	
  =	
  event.accelerationIncludingGravity.x;
                   acc.y	
  =	
  event.accelerationIncludingGravity.y;
                   var	
  accAngle	
  =	
  Math.atan2(-­‐acc.x,	
  acc.y);	
  //angle	
  between	
  the	
  rope	
  and	
  x	
  axis



                                     Z

                   Y
                                                              X




                             Playbook                                                                 Tizen HD


Monday, 5 November 12
The last mile - Packaging




Monday, 5 November 12
thank you
                             @chengluo
                        c.luo@samsung.com




Monday, 5 November 12

More Related Content

What's hot

Android for Java Developers
Android for Java DevelopersAndroid for Java Developers
Android for Java DevelopersMarko Gargenta
 
Containers and Virtualisation for Continuous Testing
Containers and Virtualisation for Continuous Testing   Containers and Virtualisation for Continuous Testing
Containers and Virtualisation for Continuous Testing sbbabu
 
Developing Multi-OS Native Mobile Applications with Intel INDE
Developing Multi-OS Native Mobile Applications with Intel INDEDeveloping Multi-OS Native Mobile Applications with Intel INDE
Developing Multi-OS Native Mobile Applications with Intel INDEIntel® Software
 
Android For Java Developers
Android For Java DevelopersAndroid For Java Developers
Android For Java DevelopersMike Wolfson
 
Blackberry_runtime_for_android_apps
Blackberry_runtime_for_android_appsBlackberry_runtime_for_android_apps
Blackberry_runtime_for_android_appsDroidcon Berlin
 
Cordova 3, apps para android
Cordova 3, apps para androidCordova 3, apps para android
Cordova 3, apps para androidDroidcon Spain
 
Rationalize Android Development with StAnD - Clement Escoffier, akquinet
Rationalize Android Development with StAnD - Clement Escoffier, akquinetRationalize Android Development with StAnD - Clement Escoffier, akquinet
Rationalize Android Development with StAnD - Clement Escoffier, akquinetParis Open Source Summit
 
Intel XDK in Brief
Intel XDK in BriefIntel XDK in Brief
Intel XDK in BriefCamilo Corea
 
Mobile Web Development with HTML5
Mobile Web Development with HTML5Mobile Web Development with HTML5
Mobile Web Development with HTML5Roy Clarkson
 
Native Android Development with Spring
Native Android Development with SpringNative Android Development with Spring
Native Android Development with SpringRoy Clarkson
 
GR8Conf 2009. The Grails Plugin System by Graeme Rocher
GR8Conf 2009. The Grails Plugin System by Graeme RocherGR8Conf 2009. The Grails Plugin System by Graeme Rocher
GR8Conf 2009. The Grails Plugin System by Graeme RocherGR8Conf
 
Native Android Development Practices
Native Android Development PracticesNative Android Development Practices
Native Android Development PracticesRoy Clarkson
 
Android Application WebAPI Development Training
Android Application WebAPI Development TrainingAndroid Application WebAPI Development Training
Android Application WebAPI Development TrainingOESF Education
 
Q4.11: Porting Android to new Platforms
Q4.11: Porting Android to new PlatformsQ4.11: Porting Android to new Platforms
Q4.11: Porting Android to new PlatformsLinaro
 
Android Programming made easy
Android Programming made easyAndroid Programming made easy
Android Programming made easyLars Vogel
 

What's hot (20)

Android for Java Developers
Android for Java DevelopersAndroid for Java Developers
Android for Java Developers
 
Containers and Virtualisation for Continuous Testing
Containers and Virtualisation for Continuous Testing   Containers and Virtualisation for Continuous Testing
Containers and Virtualisation for Continuous Testing
 
Developing Multi-OS Native Mobile Applications with Intel INDE
Developing Multi-OS Native Mobile Applications with Intel INDEDeveloping Multi-OS Native Mobile Applications with Intel INDE
Developing Multi-OS Native Mobile Applications with Intel INDE
 
Android For Java Developers
Android For Java DevelopersAndroid For Java Developers
Android For Java Developers
 
Ch2
Ch2Ch2
Ch2
 
Blackberry_runtime_for_android_apps
Blackberry_runtime_for_android_appsBlackberry_runtime_for_android_apps
Blackberry_runtime_for_android_apps
 
Android
Android Android
Android
 
Cordova 3, apps para android
Cordova 3, apps para androidCordova 3, apps para android
Cordova 3, apps para android
 
Rationalize Android Development with StAnD - Clement Escoffier, akquinet
Rationalize Android Development with StAnD - Clement Escoffier, akquinetRationalize Android Development with StAnD - Clement Escoffier, akquinet
Rationalize Android Development with StAnD - Clement Escoffier, akquinet
 
Intel XDK in Brief
Intel XDK in BriefIntel XDK in Brief
Intel XDK in Brief
 
Mobile Web Development with HTML5
Mobile Web Development with HTML5Mobile Web Development with HTML5
Mobile Web Development with HTML5
 
Discovering the p2 API
Discovering the p2 APIDiscovering the p2 API
Discovering the p2 API
 
Native Android Development with Spring
Native Android Development with SpringNative Android Development with Spring
Native Android Development with Spring
 
GR8Conf 2009. The Grails Plugin System by Graeme Rocher
GR8Conf 2009. The Grails Plugin System by Graeme RocherGR8Conf 2009. The Grails Plugin System by Graeme Rocher
GR8Conf 2009. The Grails Plugin System by Graeme Rocher
 
Android session-1-sajib
Android session-1-sajibAndroid session-1-sajib
Android session-1-sajib
 
Selenium
SeleniumSelenium
Selenium
 
Native Android Development Practices
Native Android Development PracticesNative Android Development Practices
Native Android Development Practices
 
Android Application WebAPI Development Training
Android Application WebAPI Development TrainingAndroid Application WebAPI Development Training
Android Application WebAPI Development Training
 
Q4.11: Porting Android to new Platforms
Q4.11: Porting Android to new PlatformsQ4.11: Porting Android to new Platforms
Q4.11: Porting Android to new Platforms
 
Android Programming made easy
Android Programming made easyAndroid Programming made easy
Android Programming made easy
 

Similar to LinuxCon Europe 2012 - Tizen Mini Summit

Building Rich Internet Applications Using Google Web Toolkit
Building Rich Internet Applications Using  Google Web ToolkitBuilding Rich Internet Applications Using  Google Web Toolkit
Building Rich Internet Applications Using Google Web Toolkitrajivmordani
 
Better Bug Stomping with Zend Studio and Zend Server
Better Bug Stomping with Zend Studio and Zend ServerBetter Bug Stomping with Zend Studio and Zend Server
Better Bug Stomping with Zend Studio and Zend ServerZend by Rogue Wave Software
 
ANODE – Continuous Deployment with Node.js over Azure, Yosef Dinerstein
ANODE – Continuous Deployment with Node.js over Azure, Yosef DinersteinANODE – Continuous Deployment with Node.js over Azure, Yosef Dinerstein
ANODE – Continuous Deployment with Node.js over Azure, Yosef DinersteinDevOpsDays Tel Aviv
 
Nokia Web-Runtime Presentation (Phong Vu)
Nokia Web-Runtime Presentation (Phong Vu)Nokia Web-Runtime Presentation (Phong Vu)
Nokia Web-Runtime Presentation (Phong Vu)Daniel Appelquist
 
S60 3rd FP2 Widgets
S60 3rd FP2 WidgetsS60 3rd FP2 Widgets
S60 3rd FP2 Widgetsromek
 
Codecoon - A technical Case Study
Codecoon - A technical Case StudyCodecoon - A technical Case Study
Codecoon - A technical Case StudyMichael Lihs
 
Plugins 2.0: The Overview
Plugins 2.0: The OverviewPlugins 2.0: The Overview
Plugins 2.0: The Overviewmrdon
 
Silverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression BlendSilverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression BlendCaleb Jenkins
 
Google Io Introduction To Android
Google Io Introduction To AndroidGoogle Io Introduction To Android
Google Io Introduction To AndroidBhavya Siddappa
 
Serverless on Azure with Functions
Serverless on Azure with FunctionsServerless on Azure with Functions
Serverless on Azure with FunctionsChristos Matskas
 
Cross Platform Mobile Apps with APIs from Qcon San Francisco
Cross Platform Mobile Apps with APIs from Qcon San FranciscoCross Platform Mobile Apps with APIs from Qcon San Francisco
Cross Platform Mobile Apps with APIs from Qcon San FranciscoCA API Management
 
WRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAirWRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAirpetrosoininen
 
Convert Your Web App to Tizen
Convert Your Web App to TizenConvert Your Web App to Tizen
Convert Your Web App to TizenCheng Luo
 
Eclipse vs Netbean vs Railo
Eclipse vs Netbean vs RailoEclipse vs Netbean vs Railo
Eclipse vs Netbean vs RailoMohd Safian
 
Taming Beastly Web Applications with Server-Side OSGi
Taming Beastly Web Applications with Server-Side OSGiTaming Beastly Web Applications with Server-Side OSGi
Taming Beastly Web Applications with Server-Side OSGimrdon
 
An Introduction To Android
An Introduction To AndroidAn Introduction To Android
An Introduction To AndroidGoogleTecTalks
 

Similar to LinuxCon Europe 2012 - Tizen Mini Summit (20)

Android and Intel Inside
Android and Intel InsideAndroid and Intel Inside
Android and Intel Inside
 
Building Rich Internet Applications Using Google Web Toolkit
Building Rich Internet Applications Using  Google Web ToolkitBuilding Rich Internet Applications Using  Google Web Toolkit
Building Rich Internet Applications Using Google Web Toolkit
 
Better Bug Stomping with Zend Studio and Zend Server
Better Bug Stomping with Zend Studio and Zend ServerBetter Bug Stomping with Zend Studio and Zend Server
Better Bug Stomping with Zend Studio and Zend Server
 
ANODE – Continuous Deployment with Node.js over Azure, Yosef Dinerstein
ANODE – Continuous Deployment with Node.js over Azure, Yosef DinersteinANODE – Continuous Deployment with Node.js over Azure, Yosef Dinerstein
ANODE – Continuous Deployment with Node.js over Azure, Yosef Dinerstein
 
Nokia Web-Runtime Presentation (Phong Vu)
Nokia Web-Runtime Presentation (Phong Vu)Nokia Web-Runtime Presentation (Phong Vu)
Nokia Web-Runtime Presentation (Phong Vu)
 
Sail Fin Webinar Overview
Sail Fin Webinar OverviewSail Fin Webinar Overview
Sail Fin Webinar Overview
 
S60 3rd FP2 Widgets
S60 3rd FP2 WidgetsS60 3rd FP2 Widgets
S60 3rd FP2 Widgets
 
Codecoon - A technical Case Study
Codecoon - A technical Case StudyCodecoon - A technical Case Study
Codecoon - A technical Case Study
 
Plugins 2.0: The Overview
Plugins 2.0: The OverviewPlugins 2.0: The Overview
Plugins 2.0: The Overview
 
Silverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression BlendSilverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression Blend
 
Google Io Introduction To Android
Google Io Introduction To AndroidGoogle Io Introduction To Android
Google Io Introduction To Android
 
Bhavin_Resume
Bhavin_ResumeBhavin_Resume
Bhavin_Resume
 
Serverless on Azure with Functions
Serverless on Azure with FunctionsServerless on Azure with Functions
Serverless on Azure with Functions
 
Cross Platform Mobile Apps with APIs from Qcon San Francisco
Cross Platform Mobile Apps with APIs from Qcon San FranciscoCross Platform Mobile Apps with APIs from Qcon San Francisco
Cross Platform Mobile Apps with APIs from Qcon San Francisco
 
WRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAirWRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAir
 
Convert Your Web App to Tizen
Convert Your Web App to TizenConvert Your Web App to Tizen
Convert Your Web App to Tizen
 
Eclipse vs Netbean vs Railo
Eclipse vs Netbean vs RailoEclipse vs Netbean vs Railo
Eclipse vs Netbean vs Railo
 
Taming Beastly Web Applications with Server-Side OSGi
Taming Beastly Web Applications with Server-Side OSGiTaming Beastly Web Applications with Server-Side OSGi
Taming Beastly Web Applications with Server-Side OSGi
 
An Introduction To Android
An Introduction To AndroidAn Introduction To Android
An Introduction To Android
 
HTML5 Comprehensive Guide
HTML5 Comprehensive GuideHTML5 Comprehensive Guide
HTML5 Comprehensive Guide
 

LinuxCon Europe 2012 - Tizen Mini Summit

  • 1. Tizen SDK and Web App Development Cheng Luo LinuxCon Europe 2012 Monday, 5 November 12
  • 2. Agenda • Tizen 2.0 alpha SDK • Web app development Monday, 5 November 12
  • 3. Tizen 2.0 alpha SDK • IDE - Eclipse based • Emulator - qemu based • Web based (Chrome) simulator • UI Builder • Event Injector • Remote inspector /Firebug • Documentations & Sample codes Monday, 5 November 12
  • 4. Installing SDK • The SDK supports Windows and Ubuntu • The SDK Mac version is coming soon • InstallationManager supports the snapshot-based or SDK image-based installation • Pay attention to prerequisites, specially on Ubuntu (JDK, JRE, qemu, VTx support and etc.) Monday, 5 November 12
  • 6. Install JDK on Ubuntu • Tizen IDE is based on Oracle Java v7, not OpenJDK • Oracle doesn’t allow re-distribute Java packages, so... • oab-java6 a good script for installing oracle-jdk, oracle-jre on Ubuntu • still need some tweaks to install the latest JDK-7u9 with oab- java6☞ ☞: https://github.com/flexiondotorg/oab-java6 Monday, 5 November 12
  • 7. Running IDE on Ubuntu • Install libwebkitgtk-1.0-0, if you get error such as☞: Exception in thread "main" org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] • Install Ajax Tool Framework (ATF) if Event Injector is not shown☞ ☞: http://tronprog.blogspot.co.uk/2012/05/eclipse-internal-web-browser-in-kubuntu.html http://wiki.eclipse.org/ATF/Installing Monday, 5 November 12
  • 8. Tizen 2.0 alpha new features r Monday, 5 November 12
  • 9. Tizen 2.0 alpha new features Enhanced HTML5 WebKit2 WRT screen orientation multi-process APIs video subtitles video caption keygen details battery status r Monday, 5 November 12
  • 10. Tizen 2.0 alpha new features Enhanced HTML5 Better IDE & SDK WebKit2 WRT screen orientation smart installer multi-process APIs snapshot-based video subtitles video caption enhanced openGL ES installation keygen details battery status UI Builder WebGL accelerated emulator r Monday, 5 November 12
  • 11. Tizen 2.0 alpha new features Enhanced HTML5 Better IDE & SDK WebKit2 WRT screen orientation smart installer multi-process APIs snapshot-based video subtitles video caption enhanced openGL ES installation keygen details battery status UI Builder WebGL accelerated emulator Web UI FW content selection shortcut scroll widget context menu auto-divider expandable list virtual list r Monday, 5 November 12
  • 12. Tizen 2.0 alpha new features Enhanced HTML5 Better IDE & SDK WebKit2 WRT screen orientation smart installer multi-process APIs snapshot-based video subtitles video caption enhanced openGL ES installation keygen details battery status UI Builder WebGL accelerated emulator Web UI FW More Device APIs content selection shortcut scroll widget download APIs notification APIs context menu auto-divider expandable list power control virtual list r Monday, 5 November 12
  • 13. Web apps on Tizen Monday, 5 November 12
  • 14. Web Apps Mobile site Hosted app Packaged app UI web page generic UI generic/native Store search engine app stores app stores only add a manifest file no need to install offline launching Pros no memory footage low maintenance/memory access to device s APIs footage security risk Cons limited features require a server maintenance Monday, 5 November 12
  • 15. Mobile Web <?xml&version="1.0"%encoding="UTF18"?>% <widget&xmlns="http://www.w3.org/ns/widgets"% xmlns:tizen="http://tizen.org/ns/widgets"%version="2.0%Beta"% viewmodes="fullscreen"%id="http://yourdomain/FacebookApp">%%% <icon&src="icon.png"/>%%% <content&src="http://m.facebook.com"/>%%% <name>FacebookApp</name>& <access&origin&=&"*"/>% </widget>& Monday, 5 November 12
  • 16. Mobile Web EA SY <?xml&version="1.0"%encoding="UTF18"?>% <widget&xmlns="http://www.w3.org/ns/widgets"% xmlns:tizen="http://tizen.org/ns/widgets"%version="2.0%Beta"% viewmodes="fullscreen"%id="http://yourdomain/FacebookApp">%%% <icon&src="icon.png"/>%%% <content&src="http://m.facebook.com"/>%%% <name>FacebookApp</name>& <access&origin&=&"*"/>% </widget>& Monday, 5 November 12
  • 17. Other Web Apps webOS WebWorks Tizen tizen, Application, enyo.kind, enyo.Animator, SystemInfo, Core Core API enyo.Signals, Notification, HTML5, CSS3 AJAX enyo.Aync, xhr, json, cookie jQuery.get, XMLHttpRquest jQuery.get Touch Touch, ScrollMath, jQuery touch events, jQuery touch events events ScrollStrategy, Scoller Tizen events jQueryMobile, Tizen UI onyx CSS Web UI Monday, 5 November 12
  • 18. Other Web Apps RITE REW DE CO webOS WebWorks Tizen tizen, Application, enyo.kind, enyo.Animator, SystemInfo, Core Core API enyo.Signals, Notification, HTML5, CSS3 AJAX enyo.Aync, xhr, json, cookie jQuery.get, XMLHttpRquest jQuery.get Touch Touch, ScrollMath, jQuery touch events, jQuery touch events events ScrollStrategy, Scoller Tizen events jQueryMobile, Tizen UI onyx CSS Web UI Monday, 5 November 12
  • 20. HTML5 CK LU OD GO Monday, 5 November 12
  • 21. Webkit-efl Rendering Flow web view Javascript Web core core Evas Object (buffer) UI FW Cairo Evas & Ecore X Server OpenGL ES/GL Monday, 5 November 12
  • 23. HTML5 compatibility test .1 NO Monday, 5 November 12
  • 24. Tizen Device API Monday, 5 November 12
  • 25. Tizen Device API System Info Alarm LBS Bluetooth Filesystem Application Media Content Call NFC Geocoder Calendar Messaging Contact Power Time Download Notification Monday, 5 November 12
  • 28. Build your UI • Tizen web UI framework • jQuery Mobile • CSS3 animation Monday, 5 November 12
  • 29. Tizen Web UI vs Native vs. Monday, 5 November 12
  • 30. CSS3 animation - Flipboard Monday, 5 November 12
  • 31. CSS3 animation - Flipboard Monday, 5 November 12
  • 32. Porting web apps Monday, 5 November 12
  • 33. Case study: webOS Onyx Monday, 5 November 12
  • 36. Case Study: BlackBerry Aura Portrait Landscape Monday, 5 November 12
  • 37. After porting Monday, 5 November 12
  • 38. Screen Resolution 720 1024 9:16 1280 17:10 600 Playbook Tizen HD Monday, 5 November 12
  • 39. Device API var  acc  =  new  Vector(0,0); acc.x  =  event.accelerationIncludingGravity.x; acc.y  =  event.accelerationIncludingGravity.y; var  accAngle  =  Math.atan2(-­‐acc.x,  acc.y);  //angle  between  the  rope  and  x  axis Z Y X Playbook Tizen HD Monday, 5 November 12
  • 40. The last mile - Packaging Monday, 5 November 12
  • 41. thank you @chengluo c.luo@samsung.com Monday, 5 November 12