Samsung Gear S Application Development SeogHyun Kang Software R&D Center Samsung Electronics
Self Introduction 강석현 Engineer, SW Platform Team Software R&D Center Samsung Electronics 주요업무 Tizen Web Application 2
Agenda 1. Introduction Wearable Device Tizen 2. Development Environment Tizen SDK Tizen Web Application 3. Gear S Information 4. Closing 3
Introduction
Many smart watches in the wearable market 5
Tizen Wearable Device 6
Samsung Gear S TRUE CONNECTED EXPERIENCE Tizen based wearable platform 2.0 Curved Super AMOLED (360x480) Advanced Communicator (3G, WiFi, Bluetooth Connectivity) 7
Samsung Gear 2 & Gear Samsung Gear 2 & Gear 2 Neo Tizen based wearable platform 1.63 Super AMOLED (320x320) Display USIM 미포함 (Smartphone Companion Device) Samsung Gear ( 구 Galaxy Gear) 출시당시안드로이드운영체제탑재 Tizen based wearable platform 업데이트가능 8
What is Tizen? The OS of Everything Tizen is the open-source operating system for all device areas. 9
What is Tizen? Smart phone Camera Wearable Smart TV Convergence Synergy Refrigerator Washing-machine IoT In-Vehicle Infotainment 10
Tizen is a Web platform Web-centric Platform W3C 웹표준을준수하며높은 HTML5/W3C 호환성보유 Web 기반으로빠르고쉽게 Application 제작가능 (Developer Friendly) Web performance comparable to native World best HTML5 Support Web Apps with smooth response Web based 3D App with fast and fancy graphics 2D (Crazy Chicken) WebGL 3D (HelloRacer.com) 11
Development Environment
How Can I Develop a Gear Application? 1. SDK Download : Tizen SDK for Wearable 1.0.0 (http://developer.tizen.org) 2. Gear App Development : IDE 기반으로 Web Application 제작 3. Gear 인증서획득 : Test Device 등록 4. 테스트 5. 앱스토어등록 : Galaxy Apps 등록 13
Tizen SDK Eclipse 기반의 IDE 및에뮬레이터, 샘플코드, 문서등제공 14
Tizen SDK Version - Tizen 2.2.1 SDK (2013/11/09) - Tizen SDK for Wearable 1.0 (2014/10/06) - Tizen 2.3 SDK beta (2014/09/30) *. SDK 다운로드주소 : https://developer.tizen.org/ko/downloads 15
Tizen Web Application HTML 및 JavaScript 을기반으로제작된 Application Rich HTML5 and W3C APIs HTML5 API 풍부한지원및웹표준지원 Tizen Device APIs 디바이스자원접근및사용용이 Tizen Packaged Apps 독립적으로설치및실행가능 / 갤럭시스토어등록및판매가능 16
Tizen Web Application Structure Client Side Script 인 JavaScript 사용하여개발 ( Server Side Script : PHP, ASP, JSP) 기본프로젝트구조 CSS.css config.xml Icon.png HTML : 페이지구조 CSS : 페이지디자인 JavaScript : 동적페이지구성 js html Index.html Index.html resources 이벤트처리.js.html Icon : 기본아이콘 Config.xml : 환경설정 17
개발참고자료 1) Sample Web Application (SDK) <Wearable Samples> 18
개발참고자료 2) Tutorial Video (Samsung Developer Site) 19 <http://developer.samsung.com/samsung-gear>
개발참고자료 3) App Developers Forum (Tizen Developer Site) <https://developer.tizen.org/forums/web-application-development> 20
Gear S Information
Gear Application Type 1) Watch App - Default Application Type - 기본값으로별도지정필요없음 22
Gear Application Type 2) Watch Clock - Homescreen 에서실행되는기본시계 - config.xml 에서카테고리지정 Micro Software (2014.06 ~ 2014.08) 23
Gear Application Type 3) Widgets (Dynamic Box) - Gear S에추가된 Type - config.xml 파일에 app-widget 관련내용추가하여지정 24
Enhanced Standalone Features Real freedom by delivering smart mobile experience without a smartphone in hand. Wi-Fi :802.11 b/g/n, A-GPS/Glonass Bluetooth : 4.1 900/2100 or 850/1900 (3G) 25
SAP (Samsung Accessory Protocol) 호스트디바이스와액세사리디바이스간의통신환경을제공 ( 블루투스 or WI-FI) 예 ) 갤럭시노트 4 와삼성기어 S 삼성개발자사이트에서샘플및문서제공 : http://developer.samsung.com/samsung-gear 26
New Sensor APIs 다양한센서를웹애플리케이션에서사용할수있는 Device Web API 제공 Accelerometer Gyroscope Heart Rate Magnetic (Gear S) Ambient Light (Gear S) UV (Gear S) Barometer (Gear S) 27
IME (Input Method Editor) Gear S 부터 Keyboard IME 지원 Web Application 으로직접 IME 제작하여추가가능 (SDK 내템플릿및문서제공중 ) 28
AppControl 다른 Application 에의해서실행되거나, 다른 Application 을실행하는기능 (URI, MIME) 예 ) ImageViewer App Selector (Android) App Selector (Gear S) 29
Etc. GeoLocation - Gear S 부터 GPS 가지원되어위치기반서비스가능 (http://www.w3.org/tr/2013/rec-geolocation-api-20131024) Web Speech - Speech recognition and synthesis - 현재 Speech synthesis만지원중 (Text to Speech 서비스가능 ) (https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html) 30
Closing
Q & A Thanks for your attention! 32