Tizen SDK & App Development

Slides:



Advertisements
Similar presentations
Android Application Development A Tutorial Driven Course.
Advertisements

Chapter 1: Voilà! Meet the Android
Programming Mobile Applications with Android
Objectives Overview Define an operating system
LINUX-WINDOWS INTERACTION. One software allowing interaction between Linux and Windows is WINE. Wine allows Linux users to load Windows programs while.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Mobile Application Development
This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
SP2 Mikael Nystrom. Agenda Översikt Installation.
Python for S60 SmartPhones PostPC Workshop Fall 2006 Amnon Dekel.
Chapter 1: Voilà! Meet the Android. Smartphones –Can browse the Web –Allow you to play games –Use business applications –Check –Play music –Record.
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
Computer for Health Sciences
Android Introduction Platform Overview.
Section 2.1 Identify hardware Describe processing components Compare and contrast input and output devices Compare and contrast storage devices Section.
Linux Operations and Administration
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 3 Windows File Management 1 Morrison / Wells / Ruffolo.
CS5103 Software Engineering Lecture 08 Android Development II.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course provides an overview of the installation and.
Tutorial 11 Installing, Updating, and Configuring Software
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Hands-On Virtual Computing
Chapter 1: Voilà! Meet the Android
Introducing Dreamweaver MX 2004
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
University of Management & Technology 1 Operating Systems & Utility Programs.
CHAPTER FOUR COMPUTER SOFTWARE.
1 Chapter Overview Configuring and Troubleshooting the Display Configuring Power Management Configuring Operating System Settings Configuring and Troubleshooting.
Introduction to Interactive Media Interactive Media Tools: Software.
Explain the purpose of an operating system
Embedded Software SKKU 29 1 Sungkyunkwan University Tizen v2.3 Application Model.
Tizen v2.3 Emulation on PC.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
Embedded Software SKKU 14 1 Sungkyunkwan University Tizen v2.3 Application Profiling & Debugging.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Introduction to Android (Part.
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
MODULE 3 Internet Basics © Paradigm Publishing, Inc.1.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
CSC190 Introduction to Computing Operating Systems and Utility Programs.
Chapter 9 Operating Systems Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
Unit 1 – Web Concepts Instructor: Brent Presley.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 3 Windows File Management 1 Morrison / Wells / Ruffolo.
THE WINDOWS OPERATING SYSTEM Computer Basics 1.2.
Intoduction to Andriod studio Environment With a hello world program.
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
Understanding Web-Based Digital Media Production Methods, Software, and Hardware Objective
Understanding Mobile Devices, Interactions, and Tools Lesson 1.
APP DESIGN AND DEVELOPMENT WITH THE IONIC FRAMEWORK Chuck Leone
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
PhoneGap. web-based mobile development framework, based on the open-source Cordova project. use standard web technologies such as HTML5, CSS3, and JavaScript.
TIZEN STUDIO INSTALLATION & ENVIRONMENT SETUP FOR DEVLAB
DISCOVERING COMPUTERS 2018 Digital Technology, Data, and Devices
Mobile Device Development
Mobile Application Development BSCS-7 Lecture # 1
Android Mobile Application Development
Development Environment
Android.
Tooling and Diagnostics
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Information Technology Ms. Abeer Helwa
Digital Literacy 1.00 Computer Basics
Presentation transcript:

Tizen SDK & App Development Sungkyunkwan University

Contents Tizen SDK Native/Web application Installing Tizen SDK Introduction to SDK Native/Web application Sample applications & Web coding Application Development [Native/Web] Hello Tizen [Web] HTML5 Features (web page link, multimedia support) [Native] To do list

Installing Tizen SDK for Windows

Installing Tizen SDK (Windows) Tizen IDE & SDK image download https://developer.tizen.org/development/tools/download?langswitch=en Tizen SDK Contents IDE(Integrated Development Environment) Eclipse IDE based Tizen-specific development tool add-on Emulator Toolchain Sample code Documentation Tizen SDK Install instruction https://developer.tizen.org/development/tools/download/installing-sdk?langredirect=1 Tizen 2.3 Release Notes https://developer.tizen.org/development/tools/download/release-notes/tizen-sdk/2.3-rev3-jul-6-2015

Installing Tizen SDK (Windows) System Requirements OS Ubuntu® 12.04 or 12.10 (32- or 64-bit) Microsoft Windows® XP (32-bit) Service Pack 2 or later, Microsoft Windows® 7 (32- or 64-bit) Apple Mac OS® X 10.7 Lion (64-bit), or Apple Mac OS® X 10.8 Mountain Lion (64-bit) Dual core 2GHz CPU 2GB RAM memory 6GB storage Local Administrative Privileges JRE(Java Runtime Environment) v6 http://www.oracle.com/technetwork/java/javase/downloads/index.html List of available graphic cards and webcams https://developer.tizen.org/development/tools/download/installing-sdk/prerequisites?langswitch=en

Installing Tizen SDK (Windows) Installation Using networks Using the SDK install manager, download necessary data through the network SDK image installation Install SDK using full SDK image(including all necessary data) through the SDK install manager Versions of SDK Tizen 2.3 SDK Application development tool for Tizen based smartphone Tizen SDK for Wearable 1.0.0 Application development tool for Samsung galaxy gear http://developer.samsung.com/samsung-gear

Installing Tizen SDK (Windows) Download specific version of install manager and SDK image according to development environment

Installing Tizen SDK (Windows) Steps of SDK installation

Installing Tizen SDK (Windows) You can designate the path of package and pre-downloaded image in advanced option

Installing Tizen SDK (Windows) Intel HAXM(Hardware Accelerated Execution Manager) Hardware emulation engine using ‘Intel virtualization technology(VT)’ Support fast emulation with Tizen x86 emulator image and SDK

Installing Tizen SDK (Windows) Complete installation and run Tizen IDE Starts > Tizen SDK > Tizen IDE

Installing Tizen SDK (Windows) Set the path of working directory and run Tizen SDK

Installing Tizen SDK (Windows) Main screen

Installing Tizen SDK (Windows) Execute simulator Run  Run As  Tizen Web Simulator Application Available to change html page and composition of device-like screen using several panels

Installing Tizen SDK (Windows) Emulator Execute simulator Run  Run As  Tizen Web Application or, execute Emulator Manager in Connection Explorer Emulator Manager Environment setup Target Emulator Emulator screen & FS Explore

Installing Tizen SDK (Windows) Event Injector Generate Events in Tizen emulator Telephony, Sensor, NFC, Location etc.

Installing Tizen SDK for Linux

Installing Tizen SDK (Linux) System requirements Ubuntu® 12.04 or 12.10 (32- or 64-bit) Dual core with 2 GHz CPU Minimum 2GB RAM Memory Minimum 6 GB free disk space Install upper version of Oracle ® Java* v6 Install Oracle® Java 7

Installing Tizen SDK (Linux) Install necessary packages Install manager download

Installing Tizen SDK (Linux) Change mode to execute the install manager $chmod +x tizen-sdk_2.3.63_ubuntu-64.bin Install manager execution ./tizen-sdk_2.3.63_ubuntu-64.bin

Installing Tizen SDK (Linux) Using Install manager

Installing Tizen SDK (Linux) Run Tizen IDE

Installing Tizen SDK (Linux) Select working directory

Installing Tizen SDK (Linux) Emulator manager

Installing Tizen SDK (Linux) Need for signing to run application

Installing Tizen SDK (Linux) Signing a package

Installing Tizen SDK (Linux) Problem Error in executing simulator Solution Setup Chrome browser path WindowProperencesTizen SDKWebChrome

Installing Tizen SDK (Linux) Setup Chrome browser path --no-first-run --activate-on-launch --no-default-browser-check --allow-file-access-from-files --disable-web-security --disable-translate --proxy-auto-detect --proxy-bypass-list=127.0.0.1

Installing Tizen SDK (Linux) Simulator layout

Installing Tizen SDK (Linux) Problem Unable to use OpenJDK Solution Reference: JAVA installation Ubuntu help site: https://help.ubuntu.com/community/Java

Introduction to Tizen SDK

What is Tizen SDK? Tools for Tizen app development 2012 SAMSUNG Electronics Co.

Tizen IDE components

Event injector Sensors Location Telephony NFC Device Accelerometer Gyroscope Geomagnetic Proximity Light Motion Location Manual/Map/Log file Telephony Call/SMS (from/to event injector) NFC NDEF (NFC Data Exchange Format) message NFC Tag P2P Device Battery level Earjack USB RSSI (Received Signal Strength Indication)

Web App Simulator Based chrome browser No packaging/installation process to target (real device or emulator) Run web app without target for the purpose of quick/instant test

Emulator Emulation of physical target (currently, phone-like) QEMU Virtual board + Event Injector + Emulator manager (configuration) Better performance and portability Not all devices are emulated due to performance & portability OpenGL, Audio/Video codec acceleration Configurable virtual HW

Execution with HW VT acceleration High performance with HW VT support Inter VT-x or AMD-V Special kernel driver needed KVM in Linux and HAXM in Windows

Menu of Emulator Hardware keyboard, screen shot, SDB, rotate, scale Multi touch Ctrl + mouse click

Smart Development Bridge Command tools for emulator/device management Supply basic commands for application development file transfer, remote shell command, port forwarding for a debugger, and viewing, filtering, and controlling device log output Installation SDB tool in “tizen-sdk/tools/sdb” To use the sdb commands, be in the sdb directory Or add the sdb location toe the environment path variable Learn more Command Description sdb push <local> <remote> Copy a file or directory recursively to the device's data file. Content that is generally considered suitable for children three years of age and older. sdb pull <remote> [<local>] Copy a file or directory recursively from the device's data file. sdb shell Run a remote shell interactively by dropping into a remote shell on an Emulator or device instance.

UI builder Design user interface for both web and native applications Web UI builder Native UI builder

Packaging an application Application Package Manager One of the core modules of Tizen application framework Responsible for installing, uninstalling, and updating packages, and storing their information Retrieve information related to the packages that are installed on the device Applications in the same package follow the same installation life-cycle and it is handled by the application package manager The root of the Tizen native package is the path of the ZIP archive and it contains reserved folders

Packaging a web application Widget package includes all the support files that are needed by the widget Widget is a complete standalone Web application without any additional external resources or network connectivity

Packaging a web application Package format and file extension File format: ZIP archive file format File extension: .wgt Directory hierarchy /bin /<Package ID> Symbolic link to Web runtime /opt /data /config.xml Configuration data /usr /icon.png /apps Default icon {png|gif|ico|svg} /res /wgt /<Package ID> /index.html Default start file {html|htm|svg|xhtml|xht} /css CSS source files /js JavaScript files

Packaging a native application UI and service applications can be packaged together Only one UI application, while one or more service applications

Packaging a native application Package format and file extension File format: ZIP archive file format File extension: .tpk Directory hierarchy /opt /<Executable Name1> /usr /bin /<Executable Name2> App executable binary /<Executable Name3> /apps /data App private data /<Package ID> /lib App libraries /data /res App resources /res /shared /trusted App shared resources

Packaging a hybrid application Package format and file extension File format: ZIP archive file format File extension: .wgt Directory hierarchy /<Package ID> /opt /bin /<Executable Name1> /data /<Executable Name2> /usr /icon.png /info /manifest.xml /apps /lib /wgt /index.html /<Package ID> Web project root /res /css Native resources or web content /data /shared /res /trusted

Sample Applications & Web Coding

Sample Application Types Provided in New project wizard Native applications Normal App / UI App / UIFW Web applications Hybrid / Web

Sample Applications Native App Web App

Web Application Templates Basic Tizen Basic Application Tizen Web UI Framework Web application based on Tizen Web UI Framework Tizen Web UI Builder Use a Tizen Builder Project to create Tizen Web application using Tizen Builder jQuery Mobile Web application based on jQuery Mobile

Native Application Templates Library The template for developing a shared library or static library (*.a) Service Application The empty template for developing service application UI Application The empty template project for developing UI Application UI Builder Application Support Tizen native UI builder

How to write code 1. Web references http://www.w3schools.com/ Refer to grammar of HTML/CSS, JavaScript, XML, JSON, jQueryMobile Tryit Editor for test code results

How to write code 2. IDE content assist or Jlint Content assist; suggest available function or keyword Jlint; automatically shows the syntax error and warning

How to write code 3. Using sample application provided by Tizen IDE Refer to sample code already implemented

HTML5 Features

Descriptions Functions Requirements TODO Make a Tizen web application with Multimedia playing (refer to HTML5 sample code) Connect web page with URL Requirements Header, Footer, Button page link, listview, tizen video module TODO Display recently-visited 5 webpage history with listview Connect media UI control with javascript function

Main page <div>; define division or section of HTML Add Header <h1> to <h6>; header tag Add listview to connect to a new page <ul>; Define unordered list <li>; Define list item Connect each pages with href attribute

Webpage and Log Layout Create a page to be linked to the first list item Header; Page name Footer; Link to previous page Add a text type of <input> to get URL input Add buttons to manage history Add a listview to print history

Webpage and Log Functions “Go to URL” button save an element of <key, value> to localStorage “Clear” button clear localStorage updateList() Append recently saved list item in localStorage

Webpage Results Connect internet and show history (MRU 5 log)

Multimedia layout Screen UI Define <video> with connecting src Add play control button Footer; Go back

Multimedia functions initialize()

Multimedia Results Link to video file to be played

openAPI

Descriptions Requirement Todo Web application which can get a selection query and display the result Use Open API sample file Todo Write query and print result

Start from new project Create project FileNewTizen Web ProjectTizenjQuery Mobile

Query and Display Layout Add buttons for keyword input and search Add listview to print search result