Hello World program for Google Glass - Step by Step
Asked Answered
L

2

10

I started reading stuff on Google Glass development one week ago, including this. However, I still could not find a tutorial to develop a "complete hello world program". What I meant by "complete" is; where to get the API, how to set up the API, how to write the hello world UI, how to write the code for the UI, how to install the emulator/simulator and test it. For an example, if you take a Java / Android / C++ / C# book, the first chapter is a hello world program, the "complete note" which explains how to develop it, step by step, making sure the new user is not in a mess. I went through the developer guide, and it is not what I am looking for.

Since I couldn't find anything, what I did is wrote the HTTP code in here, in the given small text box.

But I saw some people have developed code and tested it, so I would like to have "step-by-step guidance for writing Hello world for Google Glass". I am sure it will benefit a lot of new comers as well.

Please note that my favorite language is Java and Android, I do not have a Google Glass and I am not a registered "glass explorer" (as they have asked here) if it matters.

Please provide me step by step instructions / Link to step by step instructions for writing Hello world for Google Glass, because even after a one week of reading, I am totally empty handed, giving so much stress to my student life.

Linolinocut answered 10/11, 2013 at 8:36 Comment(4)
can't help you with complete tutorial but step 1 is definitely to get glass hwGrindle
Have you tried one of our Quick Start samples?Revolting
@Alain: Thank you a lot for the reply. I tried to run them in android phone, no good. Does that mean there is no way we can simulate them using android phone? Apart from that, the entire UI is based on Java code. So like in android, can't we develop the UI using XML?Linolinocut
The code doesn't run on the device but on a server as the Mirror API is a web-based API. You can use your language of choice to interact with it and we even have a running version linked from the page I mentioned in the above comment.Revolting
C
11

You say that your favorite language is Java and Android so I'm not sure if you are looking for a mirror-api solution or GDK solution. If you want a GDK solution I've created a hello world application and it can be downloaded here: https://github.com/DasCody/Hello-Glass

Cockcroft answered 26/11, 2013 at 7:4 Comment(0)
F
2

From the sounds of it you're looking for a GDK solution.

Fluorocarbon answered 27/8, 2014 at 7:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.