Is it possible to define an Android Virtual Device for use to develop Google Glass apps (until the devices become widely available)?
There isn't an out the box emulator.
You can use the playground to preview your cards, this will show you how your card will be laid out depending on what attributes you provide in your timeline post object. On the right. Just switch that view on the right to HTML if you want to provide a custom HTML template for your cards.
There's no official Glass Emulator yet.
I overcame this via installing Glass APKs into Nexus 7 tablet.
It worked perfectly:
- I can control it in http://google.com/myglass
- Mirror API works flawlessly.
- GDK Sneak Peak doesn't work.
I described all the required steps here: http://www.elekslabs.com/2013/11/google-glass-development-without-glass.html
There isn't an out the box emulator.
You can use the playground to preview your cards, this will show you how your card will be laid out depending on what attributes you provide in your timeline post object. On the right. Just switch that view on the right to HTML if you want to provide a custom HTML template for your cards.
Yes you can.. Use your phone as google glass.
http://pathofacoder.com/2013/07/19/installing-google-glass-in-an-android-phone/
here are infos about an available emulator for people without google glass google glass emulator and a project on github Scarigami Mirror API
As a matter of fact, I just saw an Engadget article (this morning I think) that announced that the Google Glass API is now live
Additional links from the Engadget article:
- https://plus.google.com/+GoogleDevelopers/posts/cwWuUY6xYKW (Originaly announced on)
- https://developers.google.com/glass/ (The ACTUAL Link to the API) :-)
However, as the developer site lists, there is nothing specific for Android. :-(
(Source: https://developers.google.com/glass/downloads/)
The supported platforms at the moment are:
- Java
- Python
- Go
- PHP
- .NET
- Ruby
- Dart
I've been digging the docs all this morning and as far as I understood, you can see what type of code/objects would be sent to the Glass using the same code on the example https://glass-java-starter-demo.appspot.com/ (code available here https://github.com/googleglass/mirror-quickstart-java )
But an actual emulator that you can see how what the Glass screen would be showing, not really.
There is an Unofficial Mirror API that tries to reproduce the behaviour of glass device with the existing Google API's. you can check it here. I have not tested it yet.
According to google, Glass has to be treated as a unique platform. And the apps developed for glass are called as Glasswares. And they're all almost web-based services which are hosted in GAE. Official statement says,
The Google Mirror API allows you to build web-based services, called Glassware, that interact with Google Glass.
Of-course glass runs on ICS Android 4.0.4 which doesn't mean you can develop glasswares as much as like developing android apps. You need Google's Mirror API to sync data between your glass and glasswares.
And as of now, it's in explorer state and only developers and explorers who has google glass are having access to Mirror API. But as @infoman answered, you can use the Scarigami Mirror API and playground can be acting as your emulator.
© 2022 - 2024 — McMap. All rights reserved.