[Sony Smartwatch] kpbird:
Introduction Smart Watch or Smartwatch

"A smartwatch or smart watch, is a computerized wristwatch with functionality that is enhanced beyond timekeeping, and is often comparable to a personal digital assistant (PDA) device. While early models can perform basic tasks, such as calculations, translations, and game-playing, modern smartwatches are effectively wearable computers. Many smartwatches run mobile apps, while a smaller number of models run a mobile operating system and function as portable media players, offering playback of FM radio, audio, and video files to the user via a Bluetooth headset. Some smartphone models, (also called watch phones) feature full mobile phone capability, and can make or answer phone calls"

-- Wikipedia

SmartWatch's exist since 1980s but it wasn't popular much because of lack in hardware/software technology and wasn't supporting eco-system. Many big companies like Google, Sony, Samsung,etc. launch SmartWatch in 2013. I believe that 2014 will be the "year of the SmartWatch".

Popular SmartWatchs

Sony SmartWatch

Samsung Galaxy Gear

i'm Watch

Pebble

WiMM Labs (WiMM Labs was acquired by Google in 9-Jan-2013)

Following SmartWatch allows to develop apps

Sony SmartWatch [http://goo.gl/c04gSK]

i'M Watch [http://developer.imsmart.com/]

Pebble [https://developer.getpebble.com/]

In this article, I will focus on Sony SmartWatch app development. I am using iMac with OSX 10.9 for the development.

Prerequisites

JDK

Android SDK

Sony Add-On SDK

Emulator / Android Phone

Setup Development Environment for Sony SmartWatch

Step 1: Install JDK [Ref: http://goo.gl/UUYvez]

Step 2: Install Android SDK [Ref: http://goo.gl/E4nRT3]

Step 3: Download Sony Add-on SDK from this link http://goo.gl/zcKlGD

Step 4: Extract zip file and copy "sony_add-on_sdk_2_1" into <Android SDK>/add-ons/

[IMG="Android SDK with Sony Add On Folder installed"]http://2.bp.blogspot.com/-l2Ty30ZpGxE/UqwAP4bhCFI/AAAAAAAAEoA/94UrDCMuJNg/s320/Screen+Shot+2013-12-14+at+12.22.31+pm.png[/IMG]

Setup SmartWatch Emulator

Step 1: You can use any SmartPhone or Android Emulator for SmartWatch Emulator, In my case I am using Sony Xperia P phone. You can use any Android based Smart Phone.

Step 2: Install Sony's Smart Connect (LiveWare) Application from Google Play

https://play.google.com/store/apps/details?id=com.sonyericsson.extras.liveware

Step 3: Install "acessory_emulator.apk" from <Android SDK>/add-ons/sony_add-on_sdk_2_1/apks

[IMG="Accessory Emulator and Smart Connect Installed"]http://4.bp.blogspot.com/-W7wP8TUU5Ow/UqwCWCFRkvI/AAAAAAAAEoM/Fl0Q1YUWfKE/s400/device-2013-12-14-123040.png[/IMG]

Compile & Install Sample Application

Step 1: Open Eclipse

Step 2: Import SmartExtensions from <Android SDK>/add-ons/samples/SmartExtensions

[IMG="Right Click and Select Import"]http://4.bp.blogspot.com/-vNKfBuX36aY/UqwG5AgwZKI/AAAAAAAAEoY/9svaEkqk_4M/s320/Screen+Shot+2013-12-14+at+12.34.49+pm.png[/IMG]

[IMG="Select "Sony AddOn" folder from Android SDK"]http://1.bp.blogspot.com/-GGy07vR-qZQ/UqwHZ8Y_6mI/AAAAAAAAEoo/INuySn1VWIY/s320/Screen+Shot+2013-12-14+at+12.35.03+pm.png[/IMG]

[IMG="Select SmartExtension Projects"]http://2.bp.blogspot.com/-mhSO62YCtGk/UqwHdbmIk-I/AAAAAAAAEow/43yRuayp1aw/s320/Screen+Shot+2013-12-14+at+12.35.22+pm.png[/IMG]

[IMG="SamplePreferenceActivity app and two libraries will display as project"]http://2.bp.blogspot.com/-Xj6wJcCPkQw/UqwHgrAu2aI/AAAAAAAAEo4/VQXI_C2IXr8/s320/Screen+Shot+2013-12-14+at+12.37.28+pm.png[/IMG]

Step 3: Eclipse will display three projects SimplePerferenceActivity,SmartExtensionAPI and SmartExtensionUtils. SimplePerferenceActivity is our main sample application, SmartExtensionAPI and SmartExtensionUtils are library which requires to develop SmartWatch application.

Step 4: Compile & Install "SimplePerferenceActivity" in your smartphone.

Step 5: Open "Accessory Emulator" application from smartphone. It will display dialogbox with different options. Select "SmartWatch"

Step 6: Accessory Emulator will display different options but only Extensions and Widget API will be active.

Step 7: Select Widget API, It will display Sony SmartWatch Emulator with Sample Widget application.

[IMG="Open Accessory Emulator, Select "SmartWatch""]http://1.bp.blogspot.com/-bhcmL0TJFLw/UqwH-MEs_KI/AAAAAAAAEpI/qQo6uf_4uXA/s320/device-2013-12-14-123057.png[/IMG]

[IMG="Enable options based on application, Select "Widget API""]http://3.bp.blogspot.com/--o1X7LxlTrc/UqwH-Le3dYI/AAAAAAAAEpE/PHXkT7n5wW0/s320/device-2013-12-14-123106.png[/IMG]

[IMG="Sample Widget"]http://1.bp.blogspot.com/-s2uWPOOUfHY/UqwH-D-D-lI/AAAAAAAAEpA/W0-ks2OcLwE/s320/device-2013-12-14-123115.png[/IMG]