I want to create a simple app on the Microsoft Band which updates a TextBlock when I click a Button.
I know how to get the trigger event of a button on the band. But I am unable to set a TextBlock if a button is triggered.
bandClient.TileManager.TileButtonPressed += (s, args) =>
{
buttonPressedCount++;
((TextBlockData)page3.Values[2]).Text = buttonPressedCount.ToString();
bandClient.TileManager.SetPagesAsync(args.TileEvent.TileId, page, page2,page3);
};
I tried it with changing the page and call the SetPAgeAsync, but this does not work correctly.
Your help is appreciated.