Is there an Android based Google Glass Emulator? - android

Is it possible to define an Android Virtual Device for use to develop Google Glass apps (until the devices become widely available)?

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.
http://glass-apps.org/google-glass-emulator

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.

Related

Cast Device Development

I want to develop a casting device, something like ChromeCast or Roku, to cast content from YouTube and Netflix to the device, I need to know more about which are the available operative systems and which are the hardware(processors and peripherals) for that OS, I was looking for use Android TV, but I want to use an official version, exist some way to contact with google or something, for making the development official?.
Also, I made a proof of concept using a raspberry pi and raspicast, searching about that I found 2 devices (miracast and anycast) and they have their own operative system, anyone have information about this kind of devices and their software and hardware?
Thanks a lot.
Check the Google Cast SDK docs and the Android TV docs. That's all Google has to offer right now.

Android Photosphere Code Samples

I'm looking for good Android code samples for Photosphere, particularly for Google Glass if possible. I've found some basic documentation here https://developers.google.com/photo-sphere/android/ and here http://developer.android.com/reference/com/google/android/gms/panorama/package-summary.html, but I can't find anything comprehensive enough to get me started.
Does anyone know of any good code samples? Or is Photosphere development on Glass even available yet (I know of the photosphere easter egg, but can't find a way to code it myself)?
Photosphere was only added into the settings of Google Glass specifically for the easter egg. It is much like Google Play Services near the beginning. They built their own version for there use and that is it. Development for it is not supported and not accessible by any third party applications.

How to develop an Android App that can run on Chrome OS?

Recently, Google released some Android apps that can run on Chrome OS. How can I develop apps that will do the same?
Is a specific SDK different from phone, tv, glass necessary?
Does the source code of an existing Android app need to change?
Do any extra libraries need to be imported into my project?
Or can an existing app run on Chrome OS without any changes?
The announcement for ARC in September of 2014 said:
Duolingo - a fun and free way to learn a new language before your next trip
Evernote - write, collect and find what matters to you, with a full-size keyboard and touchscreen
Sight Words - a delightful way for you to help improve your child's reading skills
Vine - create short, beautiful, looping videos in a simple and fun way
These first apps are the result of a project called the App Runtime
for Chrome (Beta), which we announced earlier this summer at Google
I/O. Over the coming months, we’ll be working with a select group of
Android developers to add more of your favorite apps so you’ll have a
more seamless experience across your Android phone and Chromebook.
In April of 2015, Google released the preview of ARC. You can find more information on the ARC website.
Take a look at the new developer preview documentation to get started. ARC is still in beta so may be rough around the edges, but it is now open for all developers to try their apps. From the doc:
To test your app, you need three things:
Your APK.
PC, Mac, Linux, or Chromebook on Chrome Version 41+.
The ARC Welder app.

Can we create a google glass app without using Card?

Me and my friends are trying to work with Google Glass. We need to know whether the google glass app can be created without a card.
Yes, you can. You can use the Glass Development Kit (GDK), an add-on to the Android SDK. See https://developers.google.com/glass/develop/gdk/.
The GDK is harder to use than the Mirror API, since you'd be writing an Android app, but it is also much more powerful than the Mirror API.
Well you can create a software to run on any of the OS if they're having an API. Because API is required to understand how the OS would perform a task.
You can try out https://developers.google.com/glass/develop/gdk/ from the Google's Developer Network. They would train you in a better way.
And I am not able to understand the card part where you're trying to imply that you want to create the app without a card.
To create an app that would have more control over the Glass's hardware you can create the App using the GlassAPI (GDK). It is more like a low-level app.
On the main page, you can find out that the Glass would also use the .apk files that are used to install the application softwares on Android OS. So, coding in Android SDK and then installing the very same app on the Google Glass would also be a good idea.

How to do live streaming in google glass through android code?

How to do live streaming in google glass through android code, i am using eclipse IDE to develop android apps. I have downloaded GDK and created the project using GDK. I have browsed for live video streaming, i didnt get any blogs related to that(i dont know how to use Mirror API to do live streaming )..Can anyone helped me to go up?
If you're using the GDK, then you can just use the standard android VideoView or MediaPlayer. It's explained pretty well in the Android API Guide. http://developer.android.com/guide/topics/media/mediaplayer.html
You probably want to build and test this in Android first (a phone or emulator). That should be faster since it's easier to interact with the touch screen. Once you have that working you can load it onto your Glass and proceed from there.
As far as I know there isn't a way to do this with the Mirror API. Only with the GDK.

Categories

Resources