Trending Time for Glass

A wearable application for Google Glass surfacing Twitter's tatest trending topics

View project on GitHub

Trending Time - gives you a view in Google Glass of what everyone's buzzing about

A Glassware application using Twitter's trending topics

Trending Time surfaces the latest trending topics on Twitter

Project description

This project is a port to Glass of an app originally built for Android Wear and made available as an open source tutorial that conveniently surfaces the latest trending topics from Twitter in the wearer's periphery. The aim is not only to let the user see what's trending at the moment - but also to let the user drill-down into the actual tweets constituting that trend. Users will be able to send a selected trending topic to their phone or to Chrome on the desktop to get tweets about a popular topic - at the pulse it's happening. They can also view Twitter's mobile site directly on Glass.

The wearable ethos isn't ruined by trying to keep up with trends at that pace on Glass...but people are empowered with the ability to see why something's captured the public's attention and let them participate in a normal way.

Tech talk presentation

You can review the slide deck that details this project here.

Sideloading instructions

This app is currently under review by Google, so until it goes live in MyGlass, you can download the APK here and then sideload it by connecting Glass to your computer via USB and then executing the following at a command prompt: adb install -r TrendingTimeForGlass-v0.1.apk

Target audience

The Glassware is geared towards people heavily involved in social media and popular culture, with an interest in what's going on around them. The roadmap is to have the data eventually be increasingly dynamic (faster updates) and contextual (relevant to their location, surroundings, proximity to friends, etc.).

At it's core, Trending Time serves as a fun utility that's entertaining, informative, and helpful - keeping users in the know about what the buzz online is.

Usage flow

Have a look at Trending Time's usage flow in Glassware Flow Designer.

To launch Trending Time, say, "OK, Glass...see what's trending". The card launches to the left of the home screen. Tapping on this card at any time brings up a series of commands, as follows:

Send to Phone

Send to Phone

Tapping on this menu items uses Pushbullet (requires an account and authorization) to send a selected trending topic as a notification to your designated Android or iOS phone. (It also works for tablets.)

A new pushed trending topic arrives on your phone's notification drawer. Push example Step 1

Tapping on the notification brings up the pushed trending topic link in Pushbullet. Push example Step 2

Tapping the link gives you the ability to view tweets in Twitter's mobile app (if installed) or your mobile browser. Push example Step 3

Send to Chrome

Send to Chrome

Tapping on this menu items uses Pushbullet (requires an account and authorization) to send a selected trending topic to Chrome on your desktop PC or laptop.

Send to Chrome

View in Browser

View in Browser

Tapping on this menu items allows you to view Twitter's mobile web UI to review tweets making up the trending topic directly on Glass.

View in Browser

Architecture

Trending Time is intended to be a fun utility to use, and also a learning tutorial for Glassware development. Just like it's Android Wear cousin, it's open source and free to examine. This Glass version is based on live cards, and uses a shared proxy handler on Google App Engine to access Twitter's API to access the latest trending topics for the "USA" region.

It also uses the GDK authentication scheme to access the Pushbullet API in order to send selected trending topics to your phone or desktop version of Chrome so you can see how the topic got so popular, and what people are saying about it in real time.

Feel free to submit bug reports, pull requests, and fork the code and make it your own. There's lots that can be done with the core idea. I'd love to see what you do with it!


You can find out more Glassware tips in my book, Designing and Developing for Google Glass, by O'Reilly & Associates. Thanks for your support! :)