Chapter 9. Working with Timeline Cards

The time has finally come. We’ve talked about effective Glassware design that properly conforms to the Five Noble Truths outlined in Chapter 5, we’ve created a new Glassware project in Developers Console in Chapter 7, and we’ve obtained the necessary OAuth credentials in Chapter 8. Now, let’s focus specifically on presentation. We have created a Glassware project. We have the client ID and secret. There’s only one thing left to do—actually create a card and send it to Glass. You may be surprised that building a static card can be as simple as the concept of a card itself, but contained in this incredibly simple concept are many settings that give you lots of power over what you’re sending to a user and how it will look.

We’re going to start simple, learning some basic tools for designing the cards and getting a few onto Glass itself. We’ll then start exploring some of the more advanced formatting features and options that are available as we generate cards. The next chapter continues talking about cards as we learn how users can interact with these compact creations of ours and, almost as importantly, how we find out that they’ve done so.

Just a reminder (we warned you), you’re not going to see a lot of code in here. We’re going to point you to Google’s documentation for the actual code itself while we help make sure you understand the concept. We already know you’re an awesome programmer—here’s where you prove it.

“Hello, World!”, Glass-Style ...

Get Designing and Developing for Google Glass now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.