Google Glass Development - setup tools, environment and turn on debugging on Glass

Jul 9, 2014

Hi there!

Recently I acquired a Google Glass and I thought to make my final year project based on this device. I know this is new technology and the hardware is still a prototype but I think I can learn new interesting things. So lets get started by installing the development tools. First I downloaded and installed Android Studio from Google. Here is the link I used Android Studio. I’m using Windows so you have to select your OS if is not already detected by Google and you are presented with a download link for your OS. You can also develop your project(s) by using Eclipse and the ADT plugin.

After I installed Android Studio I put my glass in development mode. This is not very hard to do, you just need a bit of practice on how to navigate with the touch pad. Just a short description on how to navigate the touch pad:

  • swipe backward to get to next menu item or to the settings menu if you are on the home screen;
  • swipe forward to access previous items or cards;
  • touch the pad to access the menu item highlighted, to see a picture or to play a video. Tapping means that you want to execute the menu option in focus.

Now lets get back on how to put your Google Glass in debug mode. First step is to turn on your Google Glass by pressing the little round button inside the frame of the Glass. After your device is ON then on the Home screen (the screen with clock and “ok glass” command) swipe back with the touch pad (swipe from front to the back of your head) until you will see the menu “Settings” and you can see the icons with the battery and the cloud. At this point tap on your touch pad to access this menu, then swipe forward using the touch pad until you see the “Device info” menu screen. At this point tap on your touch pad to access this menu and swipe forward until you see the “Turn on debug” menu. When you see this menu option tap on the side and the Glass it will inform you that you have activated debug mode and your menu will change to “Turn off debugging”. At this moment you are ready to start developing.

To turn off debugging on your Google Glass just follow previous steps and tap the glass when you see “Turn off debugging” menu option.

Next option after this menu item should be “Factory Reset” so please be careful what you tap or you might erase all your data on your Glass. To avoid this turn on backup and Google will backup what’s on it.

Once all your installation is done and your device is ON debug mode you can start developing that cool stuff you dreamed off or you are paid to do it. Either one of these, enjoy it :).

I will come back with more information regarding my project on Glass and code samples.

Tags: programmingAndroidGoogle Glass

Archives

  1. February 2024
  2. Maximizing Software Development Productivity: The Power of Flow and Minimizing Interruptions
  3. December 2023
  4. Clean Code in Java: Writing Code that Speaks
  5. Clean Code in Java: A concise guide
  6. Understanding Value Objects in Java: A Brief Guide
  7. August 2023
  8. Consuming RabbitMQ Messages with Clojure: A Step-by-Step Tutorial with Tests
  9. January 2023
  10. Running a Spring Boot service with kubernetes
  11. December 2022
  12. Hosting a PWA with Jekyll and Github pages
  13. November 2022
  14. Global Day of Code Retreat
  15. Facilitating a mini Code Retreat
  16. October 2022
  17. The Curse of Optional
  18. September 2022
  19. Testing Spring Boot Microservices - Presentation
  20. March 2022
  21. TDD Workshop
  22. February 2022
  23. Value Objects in Java
  24. Efficient Java
  25. January 2022
  26. Spring Boot testing - Focus on your changes
  27. Product users - Personas
  28. December 2021
  29. Write code fit for testing
  30. November 2020
  31. Running a Spring Boot app with kubernetes
  32. September 2019
  33. Setup GPG on Mac and sign git repositories
  34. July 2019
  35. Running a Clojure Pedestal application on Raspberry Pi model B revision 2
  36. Clojure from zero to hero (part 3) - First endpoint
  37. Clojure from zero to hero (part 2) - A bit of syntax
  38. June 2019
  39. Clojure from zero to hero (1) - explaining project.clj
  40. Clojure from zero to hero (0) - creating a Pedestal app
  41. November 2017
  42. Introduction to Docker
  43. April 2015
  44. Git micro commits
  45. July 2014
  46. Google Glass Development - setup tools, environment and turn on debugging on Glass
  47. June 2013
  48. How To: Get the rendered HTML of a webpage with Python
  49. Set union of two lists in Python