Hola!
Today it is time to show how we can update the information displayed in a Tile in real time. To update the information we need to know
- The Id of the Tile
- The Id of the Page
- The Ids of the controls within the Page
The following code example shows a class that these identifiers are stored as properties and constants. And in line 50, the SetTileData() operation updates the information for labels, bar codes and buttons with these Ids.
To see this example in execution, I created a timer to each a second generates random information and update it in the band.
Finally, the following video shows how the App Windows 10, generates random information and sends it to the Band. It shows this information in the corresponding Page
GitHub source code: https://github.com/elbruno/Blog/tree/master/MSBand/App1
Saludos @ Madrid
/El Bruno
References
- Microsoft Band Get Started
- Microsoft Band SDK
- Microsoft Band Tiles
- Microsoft Band Experience Design Guidelines
- El Bruno
- How to connect a Microsoft Band to a Windows 10 device
- How to connect to a Band and access sensor information in a Windows 10 app using Visual Studio 2015
- List, add and delete Tiles using an #Windows10 app and Visual Studio 2015
- About Tiles format, and how to create complex ones
- Suscribe to User interaction with Microsoft Band and Visual Studio 2015
3 comments