Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.
/ PTVGlass Public archive

Melbourne Public Transport timetable for Google Glass

License

Notifications You must be signed in to change notification settings

longzheng/PTVGlass

Repository files navigation

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