Can I add a custom button using Microsoft Band's SDK?

微笑、不失礼 提交于 2019-12-13 18:16:14

问题


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?


回答1:


The just released version of the Band SDK allows an application to create custom tile page layouts that can include buttons. The application will be notified when the user presses a button in its tile.

Go to http://developer.microsoftband.com/ , use the "Documentation" link to view the PDF, and see section 2.7 "Customizing Tile Layouts" and section 2.8 "Handling Custom Tile Events".



来源:https://stackoverflow.com/questions/29569630/can-i-add-a-custom-button-using-microsoft-bands-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!