Geolocation

No one likes to be lost. This helps explain why location services are estimated to be a $10 billion industry in 2015.[17] Geolocation in the Mirror API is the act of learning the location of a Glass device at some latitude/longitude point on planet Earth.

You application can use that information for all sorts of purposes, from getting directions to the cheapest fueling station to having the history of a nearby building projected onto your screen.

Your Glassware receives this information through the Location resource. But before your code can access a device’s location, it must ask the user for permission.

OAuth Location Scope

In the previous couple of chapters we glossed over choosing the correct scope to access resources. Since ...

Get Programming Google Glass now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.