Rokid Glasses are Android-based smart glasses with an outward-facing camera, a monochrome HUD, microphones, speakers, and a temple touchpad — and no touchscreen. This page covers where to get the hardware, how to connect via ADB for development, how to configure Wi-Fi for wireless debugging, common build and install commands, and how to set up a phone or emulator when you want to test without the glasses in hand.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/RealComputer/GlassKit/llms.txt
Use this file to discover all available pages before exploring further.
Hardware Overview
Rokid Glasses run Android and can be developed for like any Android device. A few hardware characteristics shape how you build:| Feature | Detail |
|---|---|
| Display | Green monochrome binocular HUD, 480×640 portrait resolution |
| Camera | Outward-facing; captures what the wearer sees |
| Input | Temple touchpad — tap, double-tap, swipe forward, swipe backward |
| Audio | Microphones and speaker |
| Connectivity | Wi-Fi only; no cellular, no USB data without dev cable |
| Touchscreen | None |
On the HUD, black renders as transparent and white renders as green. Use black backgrounds with white foregrounds for standard UI; other colors render as green, transparent, or intermediate brightness levels.
Getting Rokid Glasses
Start with the official product page: If Rokid does not ship to your location, check third-party listings on eBay. If you are outside China, make sure the listing specifies the global or international version.Getting the Development Cable
The dev cable is the easiest way to upload APKs and debug apps on-device. It gives you a direct ADB connection over a magnetic USB-A connector. Check the official page first: If the price looks unreasonably high, the cable is likely out of stock. Alternative sources:- Shenzhen Lab — shop.shenzhenlab.com
- AliExpress — search for the Rokid Glasses dev cable or magnetic USB-A debug cable
- Taobao
- DIY — community build guide at reddit.com/r/rokid_official
APK Upload Without the Dev Cable
If you do not have the dev cable, you can still install APKs using community tools. These do not give you a direct ADB connection, so debugging is harder:ADB Connection
Connect via cable
Plug the dev cable into both the glasses and your development machine. Confirm the device is visible:You should see the glasses listed as a device. If not, check that
adb is installed (it ships with Android Studio) and that the cable is fully seated.Check Wi-Fi status (optional)
If you want to switch to wireless ADB after the initial cable connection, first confirm Wi-Fi is enabled on the device:
Enable Wi-Fi and join a network (if needed)
If Wi-Fi is disabled or not connected, enable it and join your development network:Replace
NETWORK_NAME and NETWORK_PASSWORD with your actual network credentials.Common ADB Commands
Once connected (by cable or wirelessly), these commands cover the typical development loop:com.example.example with your app’s package name.
Runtime Permissions on Device
Physical Rokid Glasses do not show an interactive Android permission dialog in the HUD. Runtime permission requests on-device behave as if they were accepted automatically.Keep your normal Android runtime permission request code in place. It is required for phone and emulator testing, where the standard permission dialog does appear.
Phone and Emulator Testing
You can test most app flows on an Android phone or emulator before putting the glasses on. This is useful for rapid iteration, but confirm final behavior on physical Rokid Glasses — especially for camera and microphone, which are often unstable in the emulator. The Rokid Hello World starter app includes a viewport wrapper and touchpad navigation mapping with touchscreen controls, so phone and emulator testing works with the same codebase.Touchpad Controls Reference
| Intent | Rokid Glasses touchpad | Android phone / emulator touchscreen |
|---|---|---|
| Select / OK | Tap | Tap |
| Back / cancel | Double-tap | Double-tap |
| Next | Swipe forward | Swipe right |
| Previous | Swipe backward | Swipe left |