Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TUT] Introduction Smart Watch Development for Beginner

OP kpbird

7th July 2014, 11:57 AM   |  #1  
OP Junior Member
Flag Ahmedabad
Thanks Meter: 16
15 posts
Join Date:Joined: Jan 2010
Donate to Me
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

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

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/

Android SDK with Sony Add On Folder installed

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


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

Accessory Emulator and Smart Connect Installed

Compile & Install Sample Application

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

Right Click and Select Import

Select "Sony AddOn" folder from Android SDK

Select SmartExtension Projects

SamplePreferenceActivity app and two libraries will display as project

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.

Open Accessory Emulator, Select "SmartWatch"

Enable options based on application, Select "Widget API"

Sample Widget
The Following 6 Users Say Thank You to kpbird For This Useful Post: [ View ]
25th November 2014, 01:30 PM   |  #2  
Junior Member
Thanks Meter: 0
1 posts
Join Date:Joined: Nov 2014
Smile Can I ask where is the SimplePerferenceActivity project?
Hi there, thanks for this instruction. I downloaded the attachment but I can't find SimplePerferenceActivity project. Can anyone offer help? Thanks a lot!
Post Reply Subscribe to Thread

beginner, sony, sony smartwatch 2, tutorial
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes