[TUT] Introduction Smart Watch Development for Beginner
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"
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".
Following SmartWatch allows to develop apps
- Sony SmartWatch
- Samsung Galaxy Gear
- i'm Watch
- WiMM Labs (WiMM Labs was acquired by Google in 9-Jan-2013)
In this article, I will focus on Sony SmartWatch app development. I am using iMac with OSX 10.9 for the development.
Sony Add-On SDK
Emulator / Android Phone
Setup Development Environment for Sony SmartWatch
: Install JDK [Ref: http://goo.gl/UUYvez
: Install Android SDK [Ref: http://goo.gl/E4nRT3
: Download Sony Add-on SDK from this link http://goo.gl/zcKlGD
: Extract zip file and copy "sony_add-on_sdk_2_1" into <Android SDK>/add-ons/
Setup SmartWatch Emulator
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.
: Install Sony's Smart Connect (LiveWare) Application from Google Play
Install "acessory_emulator.apk" from <Android SDK>/add-ons/sony_add-on_sdk_2_1/apks
Compile & Install Sample Application
: Open Eclipse
: Import SmartExtensions from <Android SDK>/add-ons/samples/SmartExtensions
: 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.
Compile & Install "SimplePerferenceActivity" in your smartphone.
Open "Accessory Emulator" application from smartphone. It will display dialogbox with different options. Select "SmartWatch"
: Accessory Emulator will display different options but only Extensions and Widget API will be active.
Select Widget API, It will display Sony SmartWatch Emulator with Sample Widget application.