Saturday, May 25, 2013

Goole Glass Developers Jump Start

Google Glass Developers Jump Start

    (Examples below are for Windows)

Install latest Java JDK. 32 bit version may save you some grief.

Install the Android SDK 

Add SDK platform-tools and sdk tools to your path

Run Eclipse 

Get Glass-compatible Android SDK and USB driver
In Eclipse, select menu Window/Android SDK Manager
Make sure these are selected. If not, select and then select Install Packages button
Android 4.0.3 API 15
Extras/Google USB Driver

Connect To Glass
Connect Glass to your computer USB port
From a command line run
  adb.exe devices
You should see the Google Glass device listed

Can't Connect using ADB
If Glass is not listed, you can see if any of these help:
-use task manager to kill adb.exe and run "adb.exe devices" again.
-install the Google USB driver:
Control Panel/System/Device Manager/Other Devices/Glass 1/ Update Driver Software/Browse my computer for driver software/

If still no love:
-edit adt-bundle-windows-x86-20130514\sdk\extras\google\usb_driver\android_winusb.inf

Add these lines (VID and PID should match what you see in Control Panel/System/Device Manager/Portable Devices/Glass 1/Properties/Details/Hardware Ids). My device had these two different values.

;Google Glass
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11&REV_0216
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11&MI_01

%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&REV_0216
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&MI_01

to  these two sections:



When working, you'll see a SAMSUNG Android Phone device type with device:
   Android Composit ADB Interface

That's when everything started working for me..

Next, follow these steps to mirror Glass on your computer screen:

And watch this Google IO video

Please let me know if this helps you...