rym*_*ymo 6 google-glass google-mirror-api
As of firmware update XE7, Glass adds a "View Website" action to search results. How do I add this action to my own timeline cards, such that it will open the Glass Browser with an arbitrary URL?
将OPEN_URI
内置菜单项添加到时间轴项目和URL menuItem.payload
.时间轴项的JSON可能如下所示:
{
"text" : "Hello World!",
"menuItems" : [{
"action" : "OPEN_URI",
"payload" : "http://example.com"
}]
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
271 次 |
最近记录: |