Electronic devices are getting smaller day by day. Earlier what could be done using a smartphone can now also be done using a smartwatch. Sony recently announced SmartWatch 2 and has provided API’s for developers to build Android applications specifically for the device. It is important to note that the SmartWatch is not an Android device and hence doesn’t run the Android operating system. It is mainly capable of pairing with any Android device supporting the Bluetooth functionality.
In this tutorial, we will learn how to install and setup the Sony Add-on SDK for Android.
Pre-requisites: Eclipse IDE, Android SDK, Sony Smartwatch (version 1)
Step 1: Download Sony Add-on SDK
First, you need to download and install the SDK. Please follow these steps mentioned on the developer’s website.
Step 2: Import project in Eclipse
Once you have downloaded the Sony Add-on SDK, you should see a new folder created under path-to-android-sdk/add-ons directory. Browse through and import any one of the projects in Eclipse. For this tutorial, I will go for the SampleWidgetExtension project.
Note: Sony Smartwatch API’s can be used only with devices running Android 4.0 and higher.
Step 3: Installing SmartConnect application
Before you run the Android application, you need to download the Sony SmartConnect application (also known as LiveWare manager) from the play store. In addition, you also need to download and install the official Sony SmartWatch app.
Step 4: Pair the Smartwatch with the device
Using Bluetooth, pair the Smartwatch with your Android device. Once paired the SmartConnect application should open. At this point, you could also install third party applications like Twitter, Facebook, messaging, call handling etc.
Finally, run the application on an Android device using the USB debugging feature. If no errors are present and the installation was successful, then you would see a new time widget displayed on the smartwatch.
That’s it for now. Next we will start playing around with the Sony API’s 🙂