google-glassgoogle-gdkgoogle-mirror-api

Publishing Photo to Glass Timeline using GDK and NOT Mirror


I am working on a Google Glass application that will apply a filter and then take pictures. We used to use Card and TimelineManager to do this, but both were discontinued.

I'm currently using CardBuilder in replacement of Card, and I am able to take the photo and save it in Glass memory, but I would also like the photos to show up with the rest of the pictures taken outside my application (directly from Glass).

Most suggestions I found to publishing to Timeline require using Mirror. However, I don't want my application to require Internet access. Is there a way to publish to the Timeline without using Mirror?

I'm new to Glass and Android coding so any help will be appreciated :)


Solution

  • I've never tried TimelineManager before but I think Live cards is what you're looking for. It's used for publishing information to the timeline. No access to the internet required.

    The doc has the sample code and some sample apps also use it.

    Note: Static card is not supported by GDK as of now.

    Hope this helps.