Melbourne Public Transport timetable for Google Glass
Java C#

README.md

PTVGlass

About

By Long Zheng / @longzheng. Read the blog post.

Melbourne public transport timetable on Google Glass. (C# Xamarin for Android/Google Glass project)

  • List next departures from nearby train/tram/bus stops (via "trams nearby" voice/menu command)
  • List next departures for trains at specified City stops (via "trains departing, Southern Cross" voice/menu command)

Download binary

Download an APK to sideload to Google Glass via ADB.

Screenshots

Source compile

You must supply your own PTV Timetable API developer ID and security key (free) from PTV. See API documentation for instructions to get a key.

Put your key in \PTVGlass\Services\PtvApi.cs

public class PtvApi
    {
        string ptvDevId = "";
        string ptvDevKey = "";

Credits

(I'm a C# noob so please excuse any crappy code.)