Architecture of btizen os

4
Overview FAQ Samsung Gear Application consists of the Hostside Application which runs on Androidbased Samsung mobile devices, and the Wearableside Widget which runs on Tizenbased Samsung Gear devices. The Hostside Application can be developed in the common Android development environment, whereas, the Wearableside Widget can be developed with Tizen SDK for Wearable. In addition, Samsung Accessory SDK, is the necessary component for communicating between the Hostside Application and Wearableside Widget. You can find more details below. Samsung Gear Tutorial Video Development Process To develop a Linked or Integrated Samsung Gear Application, you need both the Tizen SDK for Wearable and the Samsung Accessory SDK. To develop a Standalone application, you only need the Tizen SDK for Wearable. Download the SDKs Application Package Structure Download For developing Samsung Gear Application, you need both of the Tizen SDK for Wearable and Samsung Accessory SDK. You can find more details on how to develop Gear Application in the ‘Getting Started’ document below. Category Download Link Description Date SDK Tizen SDK for Wearable 1.0.0b2 Apr 22, 2014 Samsung Accessory SDK 2.0.19 beta Jun 26, 2014 Documentation Hello Accessory Developer's Guide New Guidelines on how to develop Gear apps. Jul 4, 2014 UI Design Guidelines Guidelines for Samsung Gear UI design. Mar 21, 2014 Guideline on Testing Gear applications using the Emulator Guidelines on how to connect host device to Gear Emulator to test SAP. This will help if you have no Gear device. Apr 22, 2014 Samples Hello Accessory New Sample application of simple string transfer between a Galaxy device and a Gear. Jun 26, 2014 Gallery New Sample application of byte data(picture) transfer between a Galaxy device and a Gear. Jun 26, 2014 File Transfer New Sample application of file transfer between a Galaxy device and a Gear. Jun 26, 2014 Applications for Emulator Sample, service, core applications to be needed when you test Gear applications using the Emulator via SAP. Apr 22, 2014 Device Samsung Gear Samsung Mobile HomeSync S Console Services "Hello, Gear!" Gear Predevelop... "Generating Certification" Ge... "How to Submit Your Gear App to... "How to Create a Basic Integrated... "How to Create a Basic Integrated... SDK Download Gear App Development Getting the Gear Certificate Testing Registration through Samsung Apps DEVELOP DISTRIBUTE DEVICES FORUM EVENTS Search Sign in Sign up English

description

An introduction to tizen os architecture

Transcript of Architecture of btizen os

Page 1: Architecture of btizen os

Overview FAQ

Samsung Gear Application consists of the Hostside Application which runson Androidbased Samsung mobile devices, and the Wearableside Widgetwhich runs on Tizenbased Samsung Gear devices. The HostsideApplication can be developed in the common Android developmentenvironment, whereas, the Wearableside Widget can be developed withTizen SDK for Wearable. In addition, Samsung Accessory SDK, is thenecessary component for communicating between the Hostside Applicationand Wearableside Widget. You can find more details below.

Samsung Gear

Tutorial Video

Development Process

To develop a Linked or Integrated Samsung Gear Application, you need both the Tizen SDK for Wearable and the SamsungAccessory SDK. To develop a Standalone application, you only need the Tizen SDK for Wearable.

Download the SDKs

Application Package Structure

DownloadFor developing Samsung Gear Application, you need both of the Tizen SDK for Wearable and SamsungAccessory SDK. You can find more details on how to develop Gear Application in the ‘Getting Started’ documentbelow.

Category Download Link Description Date

SDKTizen SDK for Wearable 1.0.0b2 Apr 22, 2014

Samsung Accessory SDK 2.0.19 beta Jun 26, 2014

Documentation

Hello Accessory Developer'sGuide  New

Guidelines on how to develop Gear apps. Jul 4, 2014

UI Design Guidelines Guidelines for Samsung Gear UI design. Mar 21, 2014

Guideline on Testing Gearapplications using theEmulator

Guidelines on how to connect host deviceto Gear Emulator to test SAP. This willhelp if you have no Gear device.

Apr 22, 2014

Samples

Hello Accessory NewSample application of simple stringtransfer between a Galaxy device and aGear.

Jun 26, 2014

Gallery NewSample application of byte data(picture)transfer between a Galaxy device and aGear.

Jun 26, 2014

File Transfer NewSample application of file transfer betweena Galaxy device and a Gear.

Jun 26, 2014

Applications for EmulatorSample, service, core applications to beneeded when you test Gear applicationsusing the Emulator via SAP.

Apr 22, 2014

Device

Samsung Gear

Samsung Mobile

HomeSync

S Console

Services

"Hello, Gear!" Gear Predevelop...

"GeneratingCertification"  Ge...

"How to SubmitYour Gear App to...

"How to Create aBasic Integrated...

"How to Create aBasic Integrated...

SDK Download Gear AppDevelopment

Gettingthe GearCertificate

TestingRegistrationthroughSamsung Apps

DEVELOP DISTRIBUTE DEVICES FORUM EVENTS Search  Sign in Sign up English

Page 2: Architecture of btizen os

using the Emulator via SAP.

ArchitectureWearable devices are paired with a host device, such as a smartphone or connected tablet, on which they depend for widerconnectivity and various services:

The Gear Manager manages sending and configuring widgets on the wearable device.The Wearable Manager Service receives and installs widgets on the wearable device, and forwards setting informationto the Gear Manager.

SAP (Samsung Accessory Protocol) provides a connection between the host and wearable devices and supportsvarious connectivity technologies, such as WiFi, Bluetooth classic, and Bluetooth Low Energy (BLE). For moreinformation, please refer to this web page.

The following figure shows the architecture of the host and wearable device software including the Gear Manager.

Figure 2: Architecture of the host and wearable device

Applications also consist of 2 parts: host applications and wearableside widgets. Usually, a wearableside widget and acorresponding application running on the host device operate as a provider and consumer pair. Host applications aredeveloped using the Android APIs, whereas the wearableside widgets are developed using a Tizen wearable platform. Thefollowing figure shows the relationship between the host SDK and wearable SDK.

Figure 3: Host SDK and wearable SDK

Application Package StructureThe Tizen SDK for Wearable allows you to develop the following types of Gear applications:

Linked (MasterFollower)

Integrated

Standalone

Gear applications for Linked (masterFollower) and Integrated type consist of a hostside application package (APK) and awearableside widget, while gear applications for Standalone type are only wearableside widgets. The following figureillustrates the structure of each application type.

Samsung Account API

Samsung AdHub SDK

Samsung ChatON SDK

Samsung Group Play SDK

Samsung IAP SDK

Samsung Wallet API

S Health Service SDK

Smart Connectivity SDK

Convergence

Samsung Web API

Partner Tools

Android

Others

Development Overview

Page 3: Architecture of btizen os

Figure 4: Application package structure

Linked (MasterFollower) Type

The linked Gear application is not included with the general host application. You must install the general hostapplication and the wearableside widget separately.

Integrated Type

In an integrated Gear application, the hostside APK contains the general host application. When you download anintegrated Gear application, the general host application in the hostside APK is installed simultaneously with thewearableside widget.

Standalone Type

You can use the standalone type, such as a Clock app, when your Gear application does not need a general hostapplication, and can operate independently.

Getting the Gear CertificateCode signing protects your application from modification and ensures your ownership during version upgrade process.

Code signing is used in combination with device information. This ensures your signed application run only on test deviceswhich you specify. It ensures your application cannot be distributed by someone else even though your application package isleaked.

You have to take the certification steps not only for testing your apps on the actual devices but also for uploading your appsto Samsung GALAXY Apps Seller site. If you do not have any actual device but want to upload your apps to SamsungGALAXY Apps Seller site, please get and use the virtual Device Unique ID below. You can find more detailed for thecertificates in Help Contents of the IDE(Help Contents > Getting Started with Tizen Wearable > DevelopmentEnvironment > Tizen SDK for Wearable > Certificates).

To sign your code for actual device, you need to create your certificate. You can create CSR(Certificate Signing Request) fileand RSA key pair by using Tizen IDE for Wearable with actual device ID which you want to test.

You can request sign to your CSR to certificate authority(CA) by sending CSR file to [email protected], then, CA willreturn signed certificate_registration.xml file. This mailing exchange process requires PGP tool to secure your information.

Last step is registering certificate_registration.xml file to the IDE. It will use RSA key in your host which is created at firststep and generate your final certificate which enables you to test in actual devices.

App Distribution through Samsung Apps

Only the Gear Applications available on Samsung Apps will run properly. Gear Applications on other app stores(likeGoogle Play) will not work.

Gear Applications you develop will be distributed through slightly different Samsung Apps. A special Samsung Apps only forSamsung Gear has been constructed inside the Gear manager. Without getting confused with mobile apps, Gear users caneasily find and download the Gear apps they want through this separate Samsung Apps.

Get the virtual Device Unique ID

Page 4: Architecture of btizen os

Figure 5: Samsung Apps for Gear Apps inside the Gear Manager

App Distribution Process

1) Connect to Samsung GALAXY Apps Seller Office

2) Set up your account and login

3) Click 'Add New Application' button and then select 'Samsung GALAXY Gear' to submit your Gear app

4) App distribution will be completed after reviewing your app

Figure 6: Samsung GALAXY Apps Seller Office

Figure 7: Selecting Gear App Type

SHARE   

PRIVACY POLICY TERMS AND CONDITIONS END USER LICENSE AGREEMENT NOTICE DOWNLOAD CENTER VISIT    

© 2014 SAMSUNG. All rights reserved.Portions of this page are reproduced from work created and shared by the Android Open Source Projectand used according to terms described in the Creative Commons 2.5 Attribution License.