O'Reilly logo

Programming Google Glass by Eric Redmond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sharing Assets with Glassware

Contacts are meant to be more than simply people or businesses. Your Glassware itself can actually be a contact. This means your users can share items with a Glassware application. In my opinion, this was an odd design choice on Google’s part, overloading Contacts to represent living individuals or groups and a software application. However, sharing a timeline item, such as images or video, requires a contact to share it with. So let’s make do.

If you create a contact, coupled with a subscription to a SHARE event, then your Glassware can respond to notifications from timeline items that your application didn’t create, such as photographs.

We’ll expand Lunch Roulette again, this time by letting users share photos ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required