Is There an Android Based Google Glass Emulator

Is there an Android based Google Glass Emulator?

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.

Configure Google Glass as Android Studio AVD

You can't simulate a Google Glass device with AVD. You can only create a device with the same hardware specifications that Google Glass, but you can't install the Google Glass specific libraries.

Even with Genymotion you can't at the moment.

Here is a post which talk about it: Is there any way to run glassware in an emulator?

Offline emulator for Google glass OS

The Glass team is looking to provide an offline emulator for Glass, but this does not change the fact that you need Glass to develop for Glass. PY stated this at Google I/O 2013 - Voiding Your Warranty: Hacking Glass (33:40).

What is the correct Device Definition for Google Glass (for a simulator in Eclipse or Android studio)?

DisplayMetrics gives this output on Glass Explorer edition:

DisplayMetrics{density=1.5, width=640, height=360, scaledDensity=1.5, xdpi=180.62222, ydpi=169.33333}

So it does indeed look like hdpi.

Also the screen size is small:

....
else if ((getResources().getConfiguration().screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) == Configuration.SCREENLAYOUT_SIZE_SMALL) {
Log.d(TAG,"SMALL screen");
}

And it is "notlong"



Related Topics



Leave a reply



Submit