App development with Tizen Studio for legacy Gear devices

Apr 13, 2017

The Tizen Wearable Profile was officially introduces from Tizen 2.3.1. But there were Gear Wearable devices like Gear 1, Gear 2 and Gear S even before Tizen 2.3.1 was released. They were using Tizen Platform version 2.2.1.x. The latest Tizen Studio does not support development environment for Platform version less than 2.3.1. This guide provides you the tips and tricks on how to use Tizen Studio to make modification for your app which supports legacy Gear devices.

First, please download and install the Tizen Studio.

  1. To create the basic template, follow steps below.

    • A. Select Wearable v.2.3.

    • B. Select Web Application. The Native application for the Gear is supported only from 2.3.1.

    • C. After the project is created, open config.xml and change the Required Version to appropriate version. For example, “2.2” will cover all Gear series.

      Devices Tizen Platform Version
      Gear 1
      Gear 2
      Gear S ~

      Table 1: Tizen platform version of old Gear

  2. To develop the companion application using SAP, see this video below.

    How to build a Basic Integrated Gear Application

  3. The current Tizen Studio version does not have any Watch Face sample for Gear S device. however you can use Watch samples of Tizen 2.3.1 with some modifications in the config.xml

    • A. Select and load the web sample of the Tizen 2.3.1.

    • B. Change the required_version from 2.3.1 to 2.2.x.

    • C. Change the category name in the config.xml like below.

     <tizen:category name="http://tizen.org/category/wearable_clock"/>
     →  <tizen:category name="com.samsung.wmanager.WATCH_CLOCK"/>
    • D. When you package your application, if you see the CONFIG_INVALID [14] failed error, find and remove the tag which is supported from the Tizen 2.3.1 or higher in the config.xml. For example, "ambient_support" is supported from Tizen 2.3.1.