Google glass environment setup 

Build Eclipse:

Ø  Download Eclipse Bundle for Android from: http://developer.android.com/sdk/index.html

Ø  Extract the compressed file and Run eclipse

Ø  Install GDK(Google Development Kit sneak peek) from windows Android SDK manager and  also Android 4.0.3 API 15

http://omarmetwally.quora.com/Getting-started-with-Google-Glass

Driver Installation:

Ø  Go to the directory in eclipse bundle “ …/sdk\extras\google\usb_driver

Ø  Open the android_winusb.inf file and add following line end of each section of [Google.NTx86] and [Google.NTx64]

;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

http://www.youtube.com/watch?v=rfpKyj7fJCM

Ø  Connect the Google glass after configuring it using MyGlass app from computer or Mobile

Ø  On Glass, turn on USB debugging (Settings > Device Info > Turn on debug).

 

To play with existing project:

Ø  Import some GDK samples with the Eclipse: File > New Project > Android Sample Project menu.

Ø  When you're ready to create a project for your own Glassware, use these settings:

Ø  Minimum and Target SDK Versions: 15 (There is only one Glass version, so minimum and target SDK are the same.)

Ø  Compile with: Glass Development Kit Sneak Peek

To add new Glass Project in Eclipse:

Ø  Eclipse: File > New Project > Android Application Project

Ø  Minimum Required SDK: API 15 (4.0.3 Ice Cream Sandwich)

Ø  Target SDK: API 15

Ø  Compile With: Google Development Kit sneak peek