Components and Wiring
You can use the graphical remapping sketch to map each key.
Pair Bluefruit with Google Glass
By default the Google Glass can only act as a peripheral device that be paired to your tablet or phones as an accessory. But it can also behave as a central device that search and connect to other devices.
This method is first revealed in Voiding Your Warranty: Hacking Glass session at Google I/O. If you want to go straight to see how it works, you can use this link.
In order to access to settings panel, first you need a working Android SDK, you can refer to this GDK tutorial.
Then you need to install two apps by typing following command to install them:
- adb install Settings.apk
- adb install Launcher2.apk
However Google did not release the two apks officially. But Jeff did some research on it and compiled these two apks and released them on his blog. You can either download from his site or download the following zip file.
Test on Google Glass
Unpair Bluetooth devices
Go to Run > Run Configurations. Then, under Launch Action, change it from Launch Default Activity to Launch; and select the activity listed in the dropdown. Hit Apply and try running the APK again.