Samsung Gear

Samsung Gear Application consists of the Host-side Application which runs on Android-based Samsung mobile devices, and the Wearable-side Widget which runs on Tizen-based Samsung Gear devices. The Host-side Application can be developed in the common Android development environment, whereas, the Wearable-side Widget can be developed with Tizen SDK for Wearable. In addition, Samsung Accessory SDK, is the necessary component for communicating between the Host-side Application and Wearable-side Widget. You can find more details below.

Samsung Gear

Tutorial Video

Development Process

  1. SDK Download
  2. Gear App
    Development
  3. Getting
    the Gear
    Certificate
  4. Testing
  5. Registration
    through
    Samsung Gear Apps

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.

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 'Hello Accessory Developer's Guide' document below.

Samsung Gear SDK download links
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 25, 2014
Programming Guide New Guidelines on how to install and uninstall Gear application and configure host application. Jul 25, 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. Jul 11, 2014
Gallery New Sample application of byte data(picture) transfer between a Galaxy device and a Gear. Jul 11, 2014
File Transfer New Sample application of file transfer between a Galaxy device and a Gear. Jul 11, 2014
Applications for Emulator Sample, service, core applications to be needed when you test Gear applications using the Emulator via SAP. Apr 22, 2014

Wearable devices are paired with a host device, such as a smartphone or connected tablet, on which they depend for wider connectivity 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 information to the Gear Manager.
  • SAP (Samsung Accessory Protocol) provides a connection between the host and wearable devices and supports various connectivity technologies, such as Wi-Fi, Bluetooth classic, and Bluetooth Low Energy (BLE). For more information, 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

Figure 2: Architecture of the host and wearable device

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

Figure 3: Host SDK and wearable SDK

Figure 3: Host SDK and wearable SDK

The Tizen SDK for Wearable allows you to develop the following types of Gear applications:

  • Linked (Master-Follower)
  • Integrated
  • Standalone

Gear applications for Linked (master-Follower) and Integrated type consist of a host-side application package (APK) and a wearable-side widget, while gear applications for Standalone type are only wearable-side widgets. The following figure illustrates the structure of each application type.

Figure 4: Application package structure

Figure 4: Application package structure

Linked (Master-Follower) Type

The linked Gear application is not included with the general host application. You must install the general host application and the wearable-side widget separately.

Integrated Type

In an integrated Gear application, the host-side APK contains the general host application. When you download an integrated Gear application, the general host application in the host-side APK is installed simultaneously with the wearable-side widget.

Standalone Type

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

Code 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 devices which you specify. It ensures your application cannot be distributed by someone else even though your application package is leaked.

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

Get the virtual Device Unique ID

The virtual Device Unique ID copied to clipboard: OYbnFSmxwxVOk62e/cz11DU+J90=

To sign your code for actual device, you need to create your certificate. You can create CSR(Certificate Signing Request) file and 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 gear2.sec@samsung.com, then, CA will return 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 first step and generate your final certificate which enables you to test in actual devices.

Gear Applications you develop will be distributed through slightly different Samsung GALAXY Apps, Samsung Gear Apps. The Samsung Gear Apps only for Samsung Gear has been constructed inside the Gear manager. Without getting confused with mobile apps, Gear users can easily find and download the Gear apps they want through this Samsung Gear Apps.

Figure 5: Samsung Gear Apps inside the Gear Manager

Figure 5: Samsung 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 6: Samsung GALAXY Apps Seller Office

Figure 7: Selecting Gear App Type

Figure 7: Selecting Gear App Type

go to top