Making Web Application using Tizen Web UI Framework. Koeun Choi

Similar documents
Web Development 1 A4 Project Description Web Architecture

Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator

Introduction to Tizen SDK Alpha. Taiho Choi Samsung Electronics

Cross-Platform Tools

MAGENTO THEME SHOE STORE

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

PLAYER DEVELOPER GUIDE

Introduction Designing your Common Template Designing your Shop Top Page Product Page Design Featured Products...

Website Login Integration

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

Website Planning Checklist

Magento Theme Instruction

jquery Tutorial for Beginners: Nothing But the Goods

MASTERTAG DEVELOPER GUIDE

Developing Mobile Websites with Responsive Web Design and jquery Mobile

Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS ( )

Version 1.3 OFFICIAL THEME USER GUIDE. Renova. Unique Creative Portfolio - Responsive HTML5

Fortis Theme. User Guide. v Magento theme by Infortis. Copyright 2012 Infortis

Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5

Web Designing with UI Designing

JTouch Mobile Extension for Joomla! User Guide

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2

Facebook Twitter YouTube Google Plus Website . o Zooming and Panning. Panel. 3D commands. o Working with Canvas

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

HTML5 Applications Made Easy on Tizen IVI. Brian Jones / Jimmy Huang

Version 1.0 OFFICIAL THEME USER GUIDE. reva. HTML5 - Responsive One Page Parallax Theme

Going Beyond SAP ITS Mobile Apps to a Responsive Design Mobile Apps. JK (JayaKumar Pedapudi) Principal Consultant NTT DATA, Inc.

CarTrawler AJAX Booking Engine Version: 5.10 Date: 01/10/13.

Magento Theme Instruction

Web Design I. Spring 2009 Kevin Cole Gallaudet University

The purpose of jquery is to make it much easier to use JavaScript on your website.

c. Write a JavaScript statement to print out as an alert box the value of the third Radio button (whether or not selected) in the second form.

Magento Theme EM0006 for Computer store

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

Making Content Editable. Create re-usable templates with total control over the sections you can (and more importantly can't) change.

ICE: HTML, CSS, and Validation

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013

TEMPLATE MANUAL Table of Contents

Selectors in Action LESSON 3

SAHARA DIGITAL8 RESPONSIVE MAGENTO THEME

ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014

Yandex.Widgets Quick start

Development Techniques for Native/Hybrid Tizen Apps. Presented by Kirill Kruchinkin

Transitioning Computer Courseware to Mobile Web Apps

WHITEPAPER. Skinning Guide. Let s chat Velaro info@velaro.com by Velaro

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Responsive Web Design Creative License

In order for the form to process and send correctly the follow objects must be in the form tag.

Embedding a Data View dynamic report into an existing web-page

Native-quality, cross-platform HTML5 apps. Peter Helm

Argus. One Page Responsive Template. themelock.com. <a class="read-more" id="news-1" href="popup/news_1.html"></a>

Using Style Sheets for Consistency

Introduction to PhoneGap

Republic Polytechnic School of Infocomm C308 Web Framework. Module Curriculum

ANDROID INTRODUCTION TO ANDROID

(This page intentionally left blank)

How to code, test, and validate a web page

Style & Layout in the web: CSS and Bootstrap

CLASSROOM WEB DESIGNING COURSE

Getting Started with Ubertor's Cascading Style Sheet (CSS) Support

SAHARA FASHION15 RESPONSIVE MAGENTO THEME

Interspire Website Publisher Developer Documentation. Template Customization Guide

A quick guide to... Creating Custom Web Forms

Installing and Sending with DocuSign for NetSuite v2.2

Quick Start Guide. This guide will help you get started with Kentico CMS for ASP.NET. It answers these questions:

How To Change Your Site On Drupal Cloud On A Pcode On A Microsoft Powerstone On A Macbook Or Ipad (For Free) On A Freebie (For A Free Download) On An Ipad Or Ipa (For

WEB DEVELOPMENT COURSE (PHP/ MYSQL)

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

COURSE OUTLINE FACULTY OF INFORMATION AND COMMUNICATION TECHNOLOGY UNIVERSITI TEKNIKAL MALAYSIA MELAKA

THE SAS OUTPUT DELIVERY SYSTEM: BOLDLY TAKE YOUR WEB PAGES WHERE THEY HAVE NEVER GONE BEFORE! CHEVELL PARKER, SAS INSTITUTE INC.

Aspect WordPress Theme

Building Responsive Websites with the Bootstrap 3 Framework

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs

<script type="text/javascript"> var _gaq = _gaq []; _gaq.push(['_setaccount', 'UA ']); _gaq.push(['_trackpageview']);

oncourse web design handbook Aristedes Maniatis Charlotte Tanner

Designing for the Mobile Web Lesson 3: HTML5 Web Apps

Professional Tizen Application Development

FUNCTIONAL OVERVIEW VERSION: 1.0

How We Did It. Unique data model abstraction layer to integrate, but de-couple EHR data from patient website design.

Workshop on Android and Applications Development

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

Tizen Web Runtime Update. Ming Jin Samsung Electronics

HYBRID APPLICATION DEVELOPMENT IN PHONEGAP USING UI TOOLKITS

App Development for Modern UI MODULE 4: APP DEVELOPMENT ESSENTIALS

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

WP Popup Magic User Guide

Transcription:

Making Web Application using Tizen Web UI Framework Koeun Choi

Contents Overview Web Applications using Web UI Framework Tizen Web UI Framework Web UI Framework Launching Flow Web Winsets Making Web Application Note 2

Overview Tizen Web applications using Web Framework - Tizen Time module - Tizen Application module - Tizen Callinfo module - Tizen Callhistory module - Tizen Application module - Tizen contact module - Tizen application module - Tizen messaging module 3

Tizen Web UI Framework Tizen Web Application Tizen Web UI Framework Web Runtime Device API Webkit Tizen Native Tizen Frameworks Kernel jquerymobile based UI Framework Markup driven framework Tizen UX & Animation Apply Tizen UX in easy and simple way Support Localization Scaling Auto scale to screen size Use Web Standards 4

Tizen Web UI Framework submodules Tizen Web UI Framework Popup ColorPicker OptionHeader Tizen Web winsets Tizen Web Themes Controlbar VirtualList Tool - Application template Loader Opensource libs jquerymobile jquery Globalize 5

Web UI Framework Launching Flow (1/2) <script src="tizen-web-ui-fw/0.1/js/tizen-web-ui-fw-libs.js"></script> <script src= tizen-web-ui-fw/0.1/js/tizen-web-ui-fw.js data-framework-theme="tizen-gray" data-framework-viewport-scale= false > </script> User html Doc loader 1. Load framework library 2. Load theme css files and resources 3. Apply Scale value 4. Initialize page 5. Show page 6. Load globalize Theme tizen-gray tizen-blue css resource css resource 7

Web UI Framework Launching Flow (2/2) loader 1. Load framework library 2. Load theme css files and resources 3. Apply Scale value 4. Initialize page 5. Show page 6. Load globalize create page create widgets 8

Web Winsets in Tizen 9

Making Web Application Tool - IDE 10

Making Web Application Tool - Command line Support commend line tools to make user application. Usage:./web-ui-fw-generate-app.sh <--copylib> <--type=[w3c tizen]> <app-name> <install-dir> app-name : Your application name. If whitespace is contained, wrap it by quote mark. install-dir : Directory which the template code directory with name of app-name is created in. <install-dir>/<app-name>/ directory will be created. --copylib : When this option is used, all libs and resources will be copied into template directory, and all templates will refer those copied libs. --type=[w3c tizen] Set type of application template. If no --type= option is given, only default app template files will be copied. 11

Making Web Application Application Layout Header - button - segmentcontrol - search bar - option header Content - various winset : list, picker, slider etc. - Back button - Controlbar - button Footer 12

Making Web Application Application Layout Header <div data-role="header" data-position="fixed"> <h1>tizen UI</h1> <! header description here --> </div> Content <div data-role="content"> <!-- content description here --> </div> Prefixed container box using display:overflow property by default. framework generates back button in footer Footer <div data-role="footer" data-position ="fixed"> <! footer description here --> </div> 13

Making Web Application Basic Contents Design Control HTML CSS JavaScript <div data-role="page" id="checkbox-demo > <div data-role="header" data-position="fixed"> <h1>check</h1> </div> <div data-role="content"> <p> Triggerd When user clicks a checkbox : <span class="triggered-check"> <em>(this is updated when user clicks a checkbox )</em> </span> </p> <hr/> <fieldset data-role="controlgroup"> <input type="checkbox" name="checkbox-1" id="checkbox-1"/> <label for="checkbox-1">normal</label> <input type="checkbox" name="checkbox-2" id="checkbox-2" checked="checked" disabled="disabled"/> <label for="checkbox-2">checked, Disabled</label> <input type="checkbox" name="checkbox-3" id="checkbox-3" disabled="disabled"/> <label for="checkbox-3">disabled</label> </fieldset> </div><!--/content --> </div>.triggered-check { background: red; color: yellow; border: 2px; } $( "#checkbox-demo" ).live("pagecreate", function () { $("input[type='checkbox']").bind( "change", f unction(event, ui) { $( ".triggered-check" ).text( this.id + " is " + this.checked ); }); }); 14

Making Web Application Using Winsets <div data-role="page" id="template-page"> <div data-role="header" data-position="fixed"> <h1>sample app</h1> </div> <div data-role="content"> <ul data-role="listview"> <li> <div data-role="button" datainline="true">button widget</div> </li> <li> <input type="checkbox" id="checkbox1" data-style="onoff" /> </li> <li> <div data-role="pagecontrol" data-max="4" data-initval="2"></div> </li> </ul> </div> <!-- /content --> <div data-role="footer"data-position ="fixed"> <div data-role="controlbar" data-style="toolbar" > <ul> <li><a href="#" data-icon="ctrlbar-menu" class="ui-btn-active">menu</a></li> <li><a href="#" data-icon="ctrlbar-save" > Save</a> </li> </ul> </div><!-- /navbar --> </div> <!-- /footer --> </div> <!-- /page--> 15

Making Web Application Consider order of layers Several Tizen Web Winsets has special z-orders! TickerNoti : Highest layer Popup : 1200 SmallPopup : 1100 Header / Footer : 1000 Default z-index : 0 16

Making Web Application with Multilingual Codes Use Globalize! Set string translation table Globalize.addCultureInfo( de, { messages: { hello : hallo, please : bitte } }); Get translated strings by keywords with Globalize.localize() Automatic language selection (Current system language) var hello_string = Globalize.localize( hello ); Manual language selection var hello_string_de = Globalize.localize( hello, de ); Application s default language can be FIXED in index.html <!DOCTYPE html> <html lang= de > 17

Making Web Application Support System Language Localization Support web app index.html <script src=../../tizen-web-ui-fw/0.1/js/tizen-web-ui-fw.js > js, rsc Globalize.format(new Date(), "F ); tizenweb-ui-fw tizenweb-uifw.js - [Tizen] System > Language? Globalize.format(new Date(), "F") English -> Friday, January 2012 4:14:43 PM French -> vendredi 20 janvier 2012 16:14:43 18

Note Not support jquerymobile theme and swatch. Not fully support for old version browser. Runs on browsers supporting HTML5/CSS3 standards. Browser default zoom does not work. Base winset size is optimized to HD dpi targets. On low resolution targets, it scales down. Find It More Tutorial http://developer./documentation 19

Appendix

Scaling Overview ONE app, ALL devices? 21

Scaling Viewport Scaling 720px width device <script src= tizen-web-ui-fw.js data-framework-viewport-scale= true > 480px width device viewport scale : 0.67 360px width device viewport scale : 0.5 22

Scaling REM Scaling Adjust base font-size All widgets are scaled in proportion to the font size with rem unit instead of px for fixed length <script src= tizen-web-ui-fw.js data-framework-viewport-scale= false > Original page : 720px width Screen width Original 720px 480px 360px font-size (px) 36 24 18 Button width 2.78 rem 2.78 rem 2.78 rem Button width (Calculated value) 100px 67px 50px Viewport scale 1.0 23

Supported Winset List (1/2) Name Origin Description Checkbox JQM Normal checkbox Radio Button JQM Radio buttons Button JQM Basic buttons Searchbar JQM Input form for text search Segment Control JQM Set of buttons appearing as a single button Selection Info JQM Day of the week selector Slider JQM Set values as drag the handle Progressbar jquery UI Bar showing progress Lists JQM List of items Extendable List New List that can be extended Swipe List New List item that can be swiped out Virtual List New List with dynamic data management Virtual Grid New Grid with dynamic data management Toggle Switch New Simple two-state switch 24

Supported Winset List (2/2) Name Origin Description Popup New Pop-up window Context Popup New Small pop-up containing a list Notification New Small pop-up indicating accidental events Image Slider New Image collection (gallery) Page Control New Indicator button with page number Control Bar New Grouped button in the header or footer Day Selector New Grouped button supporting weekday selection Date Time Picker New Date and time picker Color New Color palette and color picker No Contents New Displayed when a list has no items Handler New Touch-friendly scroll bar Multi Button Entry New Button containing a text entry Multimedia View New Video and audio player 25