Embrace your #Tesla #throughglass

Have you ever played “Need For Speed”? As far as I can remember, I got acquainted with this absolutely marvellous gaming series when “Need For Speed 3: Hot Pursuit” was out. That was a great and crazy time. I spent literally hours riding through cities, mountains, deserts and all the awesome virtual locations there. Funny though, it was my first 3D game. I could hardly compare the emotions I experienced at that time to any other game I played.

I enjoy technology. I have been trying out Google Glass for a while. Now I enjoy investigating Sony SmartWatch 2 and Android Wear. When I heard about Tesla, I started dreaming about it!

Today I tried it.

This seems to be the geekiest car in the world. Moreover, it looks classy and fantastic. Of course, the first thing I did, was connecting Google Glass with Tesla!

Tesla via Glass

Connecting #Glass and #Tesla

There was a lot of hype around http://glasstesla.com/ Mirror API app for Glass. I dreamed of trying it on real Tesla. So, when you finally get your hands on Tesla’s driving wheel and Google Glass sits comfortably on your head, let’s try connecting them!

  1. Go to http://glasstesla.com/ and click Login.
    Login to glasstesla
  2. Login to Google Account and accept Google permissions:
    Accept Google
  3. Login to Tesla account and accept Tesla permissions:
    Accept Tesla
  4. Inside your Glass, a card will pop-up with a request to pin it. In several seconds info about your Tesla car will upload to Glass and will always be available to the left of the main “ok glass” screen.
    Main GlassTesla card

Having fun with #Tesla #throughglass

Below are some examples of GlassTesla usage. Once you tap a pinned card, you’ll reveal more information about your Tesla.

Card 1: Mile Range

This first card shows an approximate range for your Tesla and charging status. Using Glass menus, you can open the port for charging and later stop it.

Card 2: Tesla Location

The next card is Tesla’s location. You can “Get Directions” to your car. Another great demo feature is “Honk + Light”.

Card 3: Honk and Light

Honking you car’s horn #throughglass is great. Imagine that you forgot where you left your Tesla in a parking lot. Just tap your Glass and make your car honk to you!

The overall structure of GlassTesla cards is below.

Cards of GlassTesla app

Each of these cards has several submenus available on tap. As of now, GlassTesla shows all this information and supports the following commands:

  1. Open port for charging.
  2. Get directions to your car.
  3. Honk horn and flash lights.
  4. Lock/unlock your car.
  5. Open ventilation on the roof.
  6. Turn climate control on/off.

There’s one thing about Tesla, that I want to mention. I was astonished by the details. Each card shown to me depicted the exact state of the car. I tried the white Tesla Model S, that had 60 kWh battery. Exactly the same rims and panoramic roof are installed on it. All that details were shown on the picture. As you can see on one of the cards, Tesla has left door and rear trunk open. They were also open in reality when I was browsing that card.


If Google Glass were a car, it would probably be Toyota i-ROAD Concept. Looks crazy and futuristic but at the same time limited and without certain release date.

If Tesla were a wearable or mobile device, it would probably be an iPhone. It has all the power to change the whole automotive industry.


Stay tuned! Maybe next time we’ll investigate Tesla’s API and write some apps for your car! For the time being, let’s try running “NFS3: Hot Pursuit” in VirtualBox with Windows XP!

Small Update: Google announced, it will sell Google Glass to the general public on April 15th! Finally an option to buy one for everyone!

4 responses to “Google Glass Development Without Glass”

  1. luislukas says:

    Hi Ostap!
    I´d like to thank you about this post, I think it´s and extremely effort first to understand the technology and second to share it with the community.
    I´d like though to ask you a couple of questions. After installing following the steps in the Xenologer process, I can get into google glass in my mobile.
    However, when I try to execute your github code in eclipse and run it in the mobile, I get a dalvik conversion error followed by java heap space error.
    I´m compiling and executing the project with the google glass SDK preview and target is 15.
    I´ve also created another project where I´m suppose to create a Live Card. The error I´m getting is NoClassDefFoundError : com.google.android.glass.timeline.TimeLineManager

    Any help will be welcome,


  2. Hi luislukas!
    Thanks for the response.

    >>I´m compiling and executing the project with the google glass SDK preview
    If you want to run any code on it, you should compile with Android API 15 Runtime, not GDK Sneak Peak Runtime.

    >>I´m suppose to create a Live Card…
    >>I´m getting is NoClassDefFoundError…
    As I have mentioned in “3. Example #2: GDK Update”, you’ll get [INSTALL_FAILED_MISSING_SHARED_LIBRARY] exception or similar, when running GDK examples on Nexus Glass: no support for GDK features (auth, livecards,etc).

    Unfortunately, Xenologger APK are based on XE6-7. GDK Sneak Peak was released, when people were using XE11 version of Glass. So, there’s no shared library with GDK support.
    That’s why Nexus Glass doesn’t work with GDK Sneak Peak.

    GDK Sneak Peak is still very limited. AFAIK, you can’t post a static card from GDK to Timeline now.
    Google said, they’ll be opening new GDK features in following GDK releases.


  3. Great article, thanks!

  4. Thanks, that’s really fantastic to develop without the glass. I was thinking about the emulator but now I came to understand there is an option to develop an app using Mirror API http://goo.gl/jfftmY

Leave a Reply

Your email address will not be published. Required fields are marked *