Google Glass !

I’ve got Glass and a couple weeks ago I was able to build apks that ran fine on Glass. Today, even sample files that used to work just fine (specifically, I was modifying Gyroscope), no longer work on Glass. I don’t think Glass has been updated since then, and the sample code is the same. Did something happen on the build side? In other words, something I can compensate for? Thanks. I know you don’t officially support Glass yet, but Corona seems like an potentially ideal development platform for creating Glass apps (basically for the same reasons it’s so good for what it’s already so good for). 

Or should I move on to some other development platform?

Thank you!

–Chuck

so u create APKs with Corona… and that works for glass?

as someone wrote its different and glass works with REST etc…

whats ur experience…

thx

chris

There are two levels of programming, the Mirror API (call REST to push HTML5 “cards”) and plain’ol android (4.0.4, I think, no SDK yet). I write a bit about them here…

http://www.himssfuturecare.com/blog/google-glass-and-future-healthcare 

I just randomly selected about a dozen Corona samples (ones that don’t have buttons, tabs, etc) and pushed them over to Glass via adb. 

3-4 worked, rest just a blank screen. The one I was really excited about was Gyroscope and I planned to see if I could extend it to recognize head gestures, such as nodding up and down for YES and sideways for NO. That was a couple weeks ago. Today, when I returned to this, I get the blank screen for every sample I try except Helloworld. 

I don’t know what changed. Something on the build server? Something in my local development environment. Or something in Glass (it updates every 3-4 weeks or so, but I don’t think since I got Gyroscope to work (before it stopped working)). 

Obviously I’m in undocumented, unsupported territory, but it would be so cool to create Glass apps with Corona!

Cheers

–Chuck

+1. 

We are starting to develop app for Google Glass and would be great if it would be possible to leverage Corona on that…

Google released the GDK (Glass development Kit) that is an add-on the normal android development, so maybe with Corona Enterprise I could access it?

https://developers.google.com/glass/develop/gdk/index

+1

We don’t track +1’s in the forums for feature requests.  Please use our feed back site and vote for it here:
 

http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/3805701-google-glass-development-compatibility

Thanks

Rob

+1. 

We are starting to develop app for Google Glass and would be great if it would be possible to leverage Corona on that…

Google released the GDK (Glass development Kit) that is an add-on the normal android development, so maybe with Corona Enterprise I could access it?

https://developers.google.com/glass/develop/gdk/index

+1

We don’t track +1’s in the forums for feature requests.  Please use our feed back site and vote for it here:
 

http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/3805701-google-glass-development-compatibility

Thanks

Rob

I am trying to make Corona work with Google Glass. If anyone is also interested just let me know and we can unite efforts.

My status until now (3/17/14):

I am successfully installing the apk on Glass and opening it via Voice Trigger. But when the app opens I get a Corona Error message.

UPDATE (3/18/14):  My Hello World is already working :slight_smile: (although I am still fine tuning the position of the text…)

UPDATE 2: Image and text, check!

UPDATE 3: Corona Accelerometer Sample App is working on Glass

That’s pretty cool Renato, keep it up!

That is it. Yesterday I finished making a game for Google Glass using Corona. (Would it be the first Google Glass - Corona game ever? :slight_smile: )

You can see the game running here.

The game uses the head movement to aim the gun and uses a tap on the side of the Google Glass to shoot.

Wow! Congratulations!!! That is quite an achievement. I wish I had access to a Glass to play with it. 

@Renato

Congratulations…

I may come back to u for some questions :slight_smile: Or u may give us all here some hints how to develop best for glass, without glass :slight_smile:

Also I saw ur fancy birds… did u designed them urself or do u have a source to advice where to get sprites like that for free or a fair price? im not a great designer and in that point I often could need help /big smile/

greets

chris

@craig stowers, I am afraid that is not true. They have a GDK that is the normal Android + extra APIs specially for the glass. They also have a Mirror API (that is probably what you are referring to) where the Glass become basically a mirror of your web app.

The advantage of Corona is that now I can have the same source code for iOS, Amazon, Google Play,… and also Glass :). 

But if you would be making a specific app for Glass, yes, maybe it would be easier to do it directly using Android (although coding in Lua is much more enjoyable :) 

@guruk.

Feel free to ask :slight_smile:

I will write a blog post about it (at least on my blog… I will check with Corona if I can post on the Corona blog also).

About the graphics, they were done by a designer who actually was not very good professional… But I normally work with a very good one (I can give his contact if you want). I met him at odesk, which is great place to place this kind of job.

That is very cool Renato!

awesome! would be very interesting to have a google glass corona plugin :slight_smile: