Jordan Knight Developing for the Microsoft Band MOB342.

33
Spark the future.

Transcript of Jordan Knight Developing for the Microsoft Band MOB342.

Page 1: Jordan Knight Developing for the Microsoft Band MOB342.

Spark the future.

Page 2: Jordan Knight Developing for the Microsoft Band MOB342.

Jordan Knight

Developing for the Microsoft Band

MOB342

Page 3: Jordan Knight Developing for the Microsoft Band MOB342.

Jordan KnightXamling [email protected]@jakkajYou are in #MOB342

Page 4: Jordan Knight Developing for the Microsoft Band MOB342.

One little IoT device

Page 5: Jordan Knight Developing for the Microsoft Band MOB342.

Bristling with sensors… that you can access!Heart rate UVAccelerometer & gyroscopeSkin temperatureCalorie countBarometer & altimeter+more

Page 6: Jordan Knight Developing for the Microsoft Band MOB342.

Home to your appCreate interactive experiencesApp tilesApp notificationsHaptic notificationsVarious personalisation options

Page 7: Jordan Knight Developing for the Microsoft Band MOB342.

Multi-platformNative SDKs. Native SDKs for everyone.iOSAndroidWindowsXamarin Component (iOS, Android and Windows)

Page 8: Jordan Knight Developing for the Microsoft Band MOB342.

SDK & documentationGetting started – things to knowConcentrating on Windows for this talkSee documentation for more info on Windows and other platforms

https://developer.microsoftband.com/

http://tinyurl.com/bandsdk (PDF)

Page 9: Jordan Knight Developing for the Microsoft Band MOB342.

Code SamplesAvailable on GitHub

https://github.com/jakkaj/TechPresentations

Page 10: Jordan Knight Developing for the Microsoft Band MOB342.

File->NewGetting started is simpleEdit the Package.appxmanifest (edit code)Add the Proximity capabilityInstall the Nuget packageThat’s it!(oh, and you’ll need a Band!)

Page 11: Jordan Knight Developing for the Microsoft Band MOB342.

Connecting to the Band

Jordan Knight

Page 12: Jordan Knight Developing for the Microsoft Band MOB342.

More on sensorsSection 5.3Pages 21 to 26 of the documentation for all the values

http://tinyurl.com/bandsdk (PDF)

Page 13: Jordan Knight Developing for the Microsoft Band MOB342.

Surface your appCreate and customise tilesCreate tiles with custom icons Badge “count” notificationsMessagesDialogs

Page 14: Jordan Knight Developing for the Microsoft Band MOB342.

Create a custom tile

Jordan Knight

Page 15: Jordan Knight Developing for the Microsoft Band MOB342.

TilesSection 6.1Pages 29 to 31 of the documentation for details on creating tiles

http://tinyurl.com/bandsdk (PDF)

Page 16: Jordan Knight Developing for the Microsoft Band MOB342.

Adding pagesCustom content from your appCan have up to 8 pagesSimple layout language & familiar controlsTextBlock, Icons, Barcodes, FlowPanelButtons & events

Page 17: Jordan Knight Developing for the Microsoft Band MOB342.

Add a layoutThen add a page that uses itCreate up to 5 layoutsCreate up to 8 pages from those 5 layouts

Page 18: Jordan Knight Developing for the Microsoft Band MOB342.

Creating layouts and pages

Jordan Knight

Page 19: Jordan Knight Developing for the Microsoft Band MOB342.

Pages and layoutsSection 8Pages 47 to 50 of the documentation for details on codePages 35 to 42 for overviews and info

http://tinyurl.com/bandsdk (PDF)

Page 20: Jordan Knight Developing for the Microsoft Band MOB342.

Show messagesDialogs and messages are differentMessages persist and can be read laterDialogs do not persistBoth are super easy

Page 21: Jordan Knight Developing for the Microsoft Band MOB342.

Showing messages

Jordan Knight

Page 22: Jordan Knight Developing for the Microsoft Band MOB342.

Dialogs and messagesSection 7Pages 32 to 34 of the documentation for details on code

http://tinyurl.com/bandsdk (PDF)

Page 23: Jordan Knight Developing for the Microsoft Band MOB342.

Buttons and eventsIt’s not all a one way streetCreate a new layout that has a buttonCreate a page that uses that layoutConnect the event

Page 24: Jordan Knight Developing for the Microsoft Band MOB342.

Pressing buttons

Jordan Knight

Page 25: Jordan Knight Developing for the Microsoft Band MOB342.

Dialogs and messagesSection 9Pages 51 to 57 of the documentation for details on code

http://tinyurl.com/bandsdk (PDF)

Page 26: Jordan Knight Developing for the Microsoft Band MOB342.

It has more thingsIf time were to permitHaptics – send various taps and buzzesPersonalisation – customise the me image and colorsWeb tiles – use feeds as a tile source

Page 27: Jordan Knight Developing for the Microsoft Band MOB342.

SDK & documentationDownload 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)

Page 28: Jordan Knight Developing for the Microsoft Band MOB342.

SDK & documentationAzureYou can get a trial account

We used:

Notification HubsApp service

Page 29: Jordan Knight Developing for the Microsoft Band MOB342.

IFTTTIt’s Free!https://ifttt.com/

We used:

Belkin WeMo motion sensor

Page 30: Jordan Knight Developing for the Microsoft Band MOB342.

Jordan KnightXamling [email protected]@jakkajYou were in #MOB342

Thanks!

Page 31: Jordan Knight Developing for the Microsoft Band MOB342.

Complete your session evaluation on My Ignite for your chance to win one of many daily prizes.

Page 32: Jordan Knight Developing for the Microsoft Band MOB342.

Continue your Ignite learning pathVisit 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/

Page 33: Jordan Knight Developing for the Microsoft Band MOB342.

© 2015 Microsoft Corporation. All rights reserved.Microsoft, Windows and other product names are or may be registered

trademarks and/or trademarks in the U.S. and/or other countries.MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,

AS TO THE INFORMATION IN THIS PRESENTATION.