Developing for the Microsoft Band MOB342 Jordan Knight Xamling jakkajxamlingnet jakkaj You are in MOB342 One little IoT device Bristling with sensors that you can access Heart rate ID: 611634
Download Presentation The PPT/PDF document "Jordan Knight" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1Slide2
Jordan Knight
Developing for the Microsoft Band
MOB342Slide3
Jordan Knight
Xamling
jakkaj@xamling.net
@
jakkajYou are in #MOB342Slide4
One little IoT
deviceSlide5
Bristling with sensors
… that you can access!
Heart rate
UV
Accelerometer & gyroscopeSkin temperatureCalorie count
Barometer & altimeter
+moreSlide6
Home to your app
Create interactive experiences
App tiles
App notifications
Haptic notificationsVarious personalisation
optionsSlide7
Multi-platform
Native SDKs. Native SDKs for everyone.
iOS
Android
WindowsXamarin Component (iOS, Android and Windows)Slide8
SDK & documentation
Getting started – things to know
Concentrating on Windows for this talk
See documentation for more info on Windows and other platforms
https://developer.microsoftband.com
/
http://
tinyurl.com/bandsdk
(PDF)Slide9
Code Samples
Available on GitHub
https://
github.com/jakkaj/TechPresentationsSlide10
File->New
Getting started is simple
Edit the
Package.appxmanifest
(edit code)
Add the Proximity capability
Install the
N
uget package
That’s it!
(oh, and you’ll need a Band!)Slide11
Connecting to the Band
Jordan KnightSlide12
More on sensors
Section 5.3
Pages 21 to 26 of the documentation for all the values
http://tinyurl.com/bandsdk
(PDF)Slide13
Surface your app
Create and
customise
tiles
Create tiles with custom icons
Badge “count” notifications
Messages
DialogsSlide14
Create a custom tile
Jordan KnightSlide15
Tiles
Section 6.1
Pages 29 to 31 of the documentation for details on creating tiles
http://tinyurl.com/bandsdk
(PDF)Slide16
Adding pages
Custom content from your app
Can have up to 8 pages
Simple layout language & familiar controls
TextBlock
, Icons, Barcodes,
FlowPanel
Buttons
&
eventsSlide17
Add a layout
Then add a page that uses it
Create up to 5 layouts
Create up to 8 pages from those 5 layoutsSlide18
Creating layouts and pages
Jordan KnightSlide19
Pages and layouts
Section 8
Pages 47 to 50 of the documentation for details on code
Pages 35 to 42 for overviews and info
http://tinyurl.com/bandsdk
(PDF)Slide20
Show messages
Dialogs and messages are different
Messages persist and can be read later
Dialogs do not persist
Both are super easySlide21
Showing messages
Jordan KnightSlide22
Dialogs and messages
Section 7
Pages 32 to 34 of the documentation for details on code
http://tinyurl.com/bandsdk
(PDF)Slide23
Buttons and events
It’s not all a one way street
Create a new layout that has a button
Create a page that uses that layout
Connect the eventSlide24
Pressing buttons
Jordan KnightSlide25
Dialogs and messages
Section 9
Pages 51 to 57 of the documentation for details on code
http://tinyurl.com/bandsdk
(PDF)Slide26
It has more things
If time were to permit
Haptics – send various taps and buzzes
Personalisation
–
customise
the me image and colors
Web tiles – use feeds as a tile sourceSlide27
SDK & documentation
Download and play now
(but only run once you have your band!)
https://
github.com/jakkaj/TechPresentations
https://developer.microsoftband.com
/
http://
tinyurl.com/bandsdk
(PDF)Slide28
SDK & documentation
Azure
You can get a trial account
We used:
Notification Hubs
App service Slide29
IFTTT
It’s Free!
https://ifttt.com
/
We used:
Belkin WeMo motion sensorSlide30
Jordan Knight
Xamling
jakkaj@xamling.net
@
jakkaj
You were in #MOB342
Thanks!Slide31
Complete your session evaluation on
My Ignite for your chance to win one of many daily prizes. Slide32
Continue your Ignite learning path
Visit Microsoft Virtual Academy for free online training visit
https://
www.microsoftvirtualacademy.com
Visit Channel 9 to access a wide range of Microsoft
training
and
event recordings
https://channel9.msdn.com
/
Head to the TechNet
Eval
Centre to download trials of the latest
Microsoft products
http://Microsoft.com/en-us/evalcenter/Slide33