Wearable Technology Enriched App Development
About Me … Solutions Architect – Edge Data Systems MoMo Wales Nokia Developer Champion Wales and West – Windows Applications Group
Introduction to Wearable. The term “wearable device” refers to electronic technologies or computers that are incorporated into items of clothing and accessories which can comfortably be worn on the body.
What makes a Wearable Device useful? Feedback Visual Haptic Audio Sensing Movement Location Light Storage Communications
Wifi Access Point – Standard TCP IP. Wifi Direct Bluetooth Traditional Low Energy Near Field
A not so Smart Watch Smart Personal Objects Technology (SPOT). MSN Direct FM Radio local gas prices, movie times, weather forecasts, and current conditions, movie listings, local events, news, stock prices, and the ability to send Microsoft’s Live Search Maps data to a nüvi..NET Micro Framework
Introducing Agent Watch Secret Labs & House Or Horology May 2013 $100K target..NET Micro Framework Wireless Charging Wireless Communications
Introducing Agent Watch Dual Processor 120Mhz ARM Cortex-M4 (ATSAM4SD32) AVR co-processor 1.28" Sharp Memory Display 128x128 1bit Monochrome 2MB of on-board flash and 160KB of RAM 1/4 of the on-board flash will be used by the OS The flash is permanent (non-volatile) storage.
Introducing Agent Watch Ambient light sensor 3-axis accelerometer Vibration Motor 3 app specific buttons
.NET Micro Framework Limited language features: No Genetics, Linq, Lambdas Made for ARM SOC’s Small footprint is key! Avoid including any unnecessary images, fonts, or other resources that you absolutely do not need. Remove them before publishing.
The Agent SDK Visual Studio Express for Windows Desktop.NET Micro Framework SDK v4.3 Agent SDK Two Project Types Watch Face Watch Application
Watch Face Application made to specifically display the time Single Button (the select button)
Application Application Functions Three right hand buttons
Buttons The top-left button activates the backlight Bottom-left changes apps Three buttons on the right are up/select/down and can be used for custom purposes by apps. Right middle button can be used for WatchFaces Backup reset procedure is currently activated by holding the home/menu button and the top-right user button for about ten seconds
Display 128x128 1bit Monochrome Bitmap Class Clear() Draw Stuff Flush()
DEMOS. Watch Functionality
Communications Simulated Bluetooth – Emulator Designed to support standard Bluetooth Bluetooth LE
Emulator Connection Settings
DEMO. Very simple Bluetooth.
Windows Phone 8 BT Profiles: Audio/Video Remote Control Profile (AVRCP 1.4) Phone Book Access Profile (PBAP 1.1) Object Push Profile (OPP 1.1) Hands Free Profile (HFP 1.5) What it can’t do (yet): General Notifications
ScenarioRequired capabilities App to appID_CAP_PROXIMITY App to device ID_CAP_PROXIMITY, ID_CAP_NETWORKING Application Capabilities
ConnectionSettingsTask connectionSettingsTask = new ConnectionSettingsTask(); connectionSettingsTask.ConnectionSettingsType = ConnectionSettingsType.Bluetooth; connectionSettingsTask.Show(); await Windows.System.Launcher.LaunchUriAsync( new Uri("ms-settings-bluetooth:"));
private async void FindPaired() { // Search for all paired devices PeerFinder.AlternateIdentities["Bluetooth:Paired"] = ""; try { var peers = await PeerFinder.FindAllPeersAsync(); // Handle the result of the FindAllPeersAsync call } catch (Exception ex) { if ((uint)ex.HResult == 0x F) { MessageBox.Show("Bluetooth is turned off"); } Hay!
DEMOS. Communication
Resources (Agent Watches &.Net MF): Agent Web Site: Forum: Netduino Forum: TinyFont Converter: ol.aspx 1bit Image Converter:
Resources (Other) Ada Fruit:
Skype: mike_hole