1

I've been toying with the Microsoft Band SDK all morning. I've figured out how to send notifications, and read sensor data.

However, I've been trying to add buttons with 'click handlers', so that i can add custom buttons, and trigger actions upon click/tap.

I can not figure out how to do this. Has anyone done something similar?

4

1 回答 1

2

刚刚发布的 Band SDK 版本允许应用程序创建可包含按钮的自定义磁贴页面布局。当用户按下其磁贴中的按钮时,应用程序将收到通知。

转到http://developer.microsoftband.com/,使用“文档”链接查看 PDF,并参见第 2.7 节“自定义磁贴布局”和第 2.8 节“处理自定义磁贴事件”。

于 2015-04-30T17:41:12.287 回答