Melissa
Melissa

Reputation: 1

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 :)

Upvotes: 0

Views: 117

Answers (2)

w9jds
w9jds

Reputation: 897

So there are two things. If you want the picture to appear to the left of the time (which would mean foreverish) then you want to use Live Card as suggested above. However, if you want to add it to the timeline (which is to the right of the time) then you can't add that via the GDK anymore.

Google felt that the Mirror API was built specifically for this and the Timeline Manager defeated the purpose of it so it was removed.

Upvotes: 0

pt2121
pt2121

Reputation: 11870

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.

Upvotes: 1

Related Questions