cardscrollview

Google Glass - 'Jump' to a card in CardScrollView?

故事扮演 提交于 2019-12-14 03:58:57
问题 I have a Google Glass app that uses a CardScrollView to display a series of Cards. Touch gestures work to move between cards, but I need to be able to jump to specific cards by their index. I want to use contextual voice commands (ignore its limitations for now) to do this, for example: "ok glass, go to card 25". I was hoping to be able to do something like this... CardScrollView mCardScrollView = new CardScrollView(this); // ... // "ok glass, go to card 25" // ... mCardScrollView.setFocus(25

Google Glass listing Items

醉酒当歌 提交于 2019-12-11 09:06:54
问题 Lately there have been lots of changes to Google Glass GDK and I'm getting a little confused. I have a list of discovered Bluetooth devices and I want to list them with Name, address and if possible more info (as paired, last connection, etc.) Which method would be the best to do this? ListView? Or is it true that it is no loger supported in GGlass? CardScroll? But then I have to do a bunch of Cards? Is there any other? Thanks! 回答1: ListView s do not conform to best Glass UX practices and you