Skip to content

jaredsburrows/open-quartz

Repository files navigation

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:

Example Applications for Google Glass:

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.