Open Source Google Glass Development
Much like quartz sand is the main ingedient in most commercial glass, we at OpenQuartz want to be the main "ingredient" in future development for Google Glass
### Example Applications for Google Glass([/example-apps](../master/example-apps)) - GDK - [Hello Glass](../master/example-apps/HelloGlass) - *Andre Compagno* - Basic "HelloWorld" - [Voice Example](../master/example-apps/Voice Example) - *Andre Compagno* - Voice Recognition Example - Misc - [Glass Preview](../master/example-apps/GlassPreview) - *Jared Burrows* - "Hotfix" for Google Glass camera preview - post-XE11 ### Google Glass Application Source Code([/glass-source](../master/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:
- Decompiling APKs
- Decompiling compiled Java (.class) files
- View decopmiled JAR files from Dex2Jar
- JD-GUI
- Dumping APK Resources
- Android APKtool
- All in One Tool
Read more:
- http://stackoverflow.com/questions/3122635/is-it-possible-to-decompile-an-android-apk-file
- http://blog.burrowsapps.com/2012/02/hacking-facebook-for-android.html
- http://blog.burrowsapps.com/2012/05/how-to-reverse-engineer-android-malware.html
Since there is no "Google Play" Android Market 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"
- adb shell dumpsys
- 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:
- http://developer.android.com/tools/help/adb.html
- http://stackoverflow.com/questions/11201659/whats-android-adb-shell-dumpsys-tool-and-its-benefits
- OpenShades: WearScript
- Example of Decompiled Resources:
- Compass
- Level
- Stopwatch
- Waveform
- OpenCV(OpenCV for Android)
- Overview
- Basic Setup
- Technical Specifications
- Developer Guidelines
- GDK
- Github
- Boot Images and Kernels
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
http://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.