Exploring Development for the Sony SmartWatch: First Edition

Introduction

In this post, we'll delve into the development for the first model of Sony Smart Watches. While the third edition is currently available, I recently had the chance to experiment with the original model. I picked up two Smart Watches at a local flea market for just 3 EUR each. However, they came without an adapter or wrist strap. Sony’s proprietary cable presented a challenge, but I managed to made my own using old USB cables. For anyone facing a similar issue, you only need two of the four pins on the cable: VCC (power) and ground.

Setup

Unlike common Android devices, there isn't a universal SDK for smartwatches. Each manufacturer provides their own SDK. To use official apps, you first need to install the "Smart Connect" app, which allows you to pair your watch with your device. After installation, you can download apps from the Google Play Store. Note that these apps won’t appear in the app list on the watch because they don't contain a runnable Activity. Instead, they are managed through the "Smart Center" app, which pushes them to the watch automatically.

Development Environment

Here are some useful links to set up the Sony SDK and development environment:

Differences from Basic Android Development

  • Automatic Installation: Applications are automatically installed on the watch if it is paired with your device.
  • Testing: Use the "Accessory Emulator" app for testing instead of the IDE emulator. This app simulates the watch environment.
  • No Activities: The application does not include any Activities. Instead, it uses a concept similar to Activity called ControlExtension.
  • Compatibility: Only a few examples are compatible with the first version of the watch, such as BackwardCompatible* and HelloSensorPreferenceActivity.

My Contribution

As a follow-up to the game I developed earlier, “Quick Circle Rocket,” I’ve created a version for the Sony SmartWatch. Feel free to check it out and enjoy the game!

You can find the source code here: https://github.com/mbodis/sw_rocket



        


 

Comments

Popular posts from this blog

Skate Tricks Recognition Using Gyroscope

Play table

Counting dice and train wagons using computer vision