Monday, November 25, 2013

OpenQuartz: Google Glass Open Source Development

OpenQuartz: Google Glass Open Source Development

Much like quartz sand is the main ingredient in most commercial glass, we want OpenQuartz to be the main "ingredient" in the future development for Google Glass!


Find the repository here: https://github.com/jaredsburrows/OpenQuartz




Here is an OpenCV Android implementation of Face Detection!



Example Applications for Google Glass(/example-apps)

  • GDK
  • Misc
    • Glass Preview - Jared Burrows
      • "Hotfix" for Google Glass camera preview - post-XE10
    • Face Detection - Jared Burrows
      • "Hotfix" for Google Glass camera preview - post-XE10

Google Glass Application Source Code(/glass-source):

UPDATE(11/19/13): GDK is now out! You can still easily decompile applications using this method.
Since the GDK is not yet released, we can look around how the current Google Glass Android applications were compile by breaking them down. The decompiled Google Glass applications are included. Here are a list of tools to decompile the native APKs:
Read more:

Third Party Applications(/third-party):

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

Basic ADB Usage(From Terminal or CMD Prompt):

Since there is no "Google Play" for the Glass yet, we have to side load Android applications for now.
  • 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"
  • Show the AndroidManifest for an APK
    • aapt dump xmltree FILE.apk AndroidManifest.xml
  • Screenshots from Commandline
    • adb shell /system/bin/screencap -p /sdcard/screenshot.png
    • adb pull /sdcard/screenshot.png screenshot.png
Read more:

Current Open Source Projects:

Pre-GDK Glass Applications:

Important Libraries:

Google Glass Resources:

License

Copyright (C) 2013 OpenQuartz
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
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.