open-quartz icon indicating copy to clipboard operation
open-quartz copied to clipboard

Google Glass Development - GDK + SDK

OpenQuartz

License Build Twitter Follow

Open Source Google Glass Development

Google Glass Example GDK Applications:

Important Libraries:

Basic ADB Usage(For Terminal or CMD Prompt):

Information for side loading Android applications.

  • Keep Your Google Glass On while charging/developing:
    • adb shell svc power stayon true | false | usb | ac
  • Turn off Wifi and only use Bluetooth
    • adb shell svc wifi enable | disable
  • Installing/Uninstall Applications(.apks):
    • adb install -r FILE.apk
    • adb uninstall FILE.apk
  • Running the Application:
    • adb shell am start -n PACKAGE.NAME/.MAIN.ACTIVITY.NAME
  • List all Packages on your Android Device:
    • adb shell pm list packages -f
  • List all Relative Information about your Android Device:
    • adb shell dumpsys
      • adb shell dumpsys battery
      • adb shell dumpsys wifi
      • adb shell dumpsys cpuinfo
      • adb shell dumpsys meminfo
        • adb shell dumpsys meminfo PACKAGE.NAME
    • adb shell cat "/system/build.prop" | grep "product"
  • Screenshots from Commandline
    • adb shell /system/bin/screencap -p /sdcard/screenshot.png
    • adb pull /sdcard/screenshot.png screenshot.png

Read more:

  • https://developer.android.com/tools/help/adb.html
  • https://stackoverflow.com/questions/11201659/whats-android-adb-shell-dumpsys-tool-and-its-benefits

Example Applications for Google Glass:

  • GDK
    • Camera App
      • Basic Camera application with Camera preview - with "Hotfix" - post-XE11
    • Memo App - Andre Compagno (@acompagno)
      • Voice Memo Application
    • Hello Glass
      • Basic "HelloWorld"
    • Location Example
      • Basic Location on Live Cards
    • Voice Example
      • Voice Recognition Example
  • OpenCV or Android SDK
    • Glass Preview
      • "Hotfix" for Google Glass camera preview - post-XE11
    • Face Detection
      • "Hotfix" for Google Glass camera preview - post-XE11
      • Optimization coming soon
    • Image Manipulation
      • Mixed Processing and Camera Control Tutorials
      • Canny, Sobel, RGBA, Gray, Feature Detection, etc

Third Party Applications(/third-party):

Here are helpful applications to install on your Glass in order to start testing and developing.

Google Glass Resources:

License

Copyright (C) 2013 Jared Burrows and Andre Compagno

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.