Search code examples
androidgoogle-glassgoogle-gdk

Glass GDK High frequency LiveCard Hello, World example?


It seems like every tutorial that I can find has a different, usually old, way of doing it. For example, even Google's LiveCard page has an example where they tell you to implement LiveCardCallback , however the link they give is dead, and that class doesn't exist in the GDK.

I also found a gdk apidemo on github, but most of those examples seem to be outdated?

Any good resource for an Android developer just starting out on Glass?


Solution

  • LiveCardCallback was renamed to DirectRenderingCallback in XE12. Thanks for catching one that we missed!

    Third-party examples that you find online may have not yet updated to XE12, but the Compass, Stopwatch, and Timer on our GitHub page (and also found in the add-on's samples folder) are all updated and good examples of using live cards with high-frequency direct rendering.