Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Google Glass GDK Development Skill (XE24, API 19)

A comprehensive reference guide and AI agent skill library for building, optimizing, and debugging Google Glassware using the Glass Development Kit (GDK) on Android 4.4.2 (XE24, API Level 19).

Why This Skill is Needed

AI coding agents and LLMs typically exhibit knowledge gaps concerning legacy or niche hardware. Since standard Android documentation focuses on modern APIs (such as Camera2, Jetpack Compose, Kotlin, and modern BLE), agents may lack the nuance required for interacting with Google Glass. Furthermore, due to the deprecated status of the Glass project, some features like custom voice commands and other network dependant features are no longer supported.

This skill library bridges these gaps by injecting critical context about GDK limitations:

  • Prevents Modern API Recommendations: Directs agents away from modern libraries incompatible with Android KitKat.
  • Accounts for Offline Services: Teaches agents to use predefined commands and manifest workarounds since backend Glassware activation is defunct.
  • Enforces Hardware Constraints: Steers agents towards writing code that stays within the tight CPU, memory, and thermal limits of the legacy Glass hardware.

Repository Structure

├── README.md                  # This file
└── Glass-Dev-Skill/           # Main skill directory
    ├── glass-dev.md           # Core setup, architecture, and thermal/performance rules
    ├── glass-dev-ui.md        # UI design, CardScrollView, touch gestures, and themes
    ├── glass-dev-voice.md     # "ok glass" voice triggers & contextual voice menus
    ├── glass-dev-live-cards.md # Background services and timeline Live Cards
    ├── glass-dev-bluetooth.md  # BLE constraints (KitKat) and Classic SPP sockets
    ├── glass-dev-camera.md     # Intent capture and native Camera API (16:9 aspect ratio)
    ├── glass-dev-sensors.md    # Hardware sensors & manual head gesture (nod/shake) tracking
    ├── glass-dev-debug.md      # Custom adb logcat filters & GDK jar verification
    └── references/            # Playbooks of allowed trigger/menu commands
        ├── voice-triggers.md  # Allowed VoiceTriggers.Command constants
        └── contextual-menus.md # Allowed ContextualMenus.Command constants

Installation

To install this skill library for your agentic coding assistant (such as Antigravity, Codex, or Claude Code):

  1. Download and extract the repository ZIP file.

  2. Copy the Glass-Dev-Skill/ directory (leaving this README.md outside) into your agentic coding system's custom skills, plugin, or workspace directory.

  • Antigravity: Place it in your system plugin configuration directory (e.g., .gemini/config/plugins/Glass-Dev/skills/).
  • Codex / Claude Code / Other Agents: Copy it into your project workspace directory or standard indexing path so the agent can scan and read the files.

Contributing

Contributions are welcome when you discover new GDK quirks, identify undocumented platform limitations, or develop more efficient workarounds to constraints.

To contribute, submit a Pull Request containing clear, actionable updates to the markdown files. If you write any code, ensure the additions are fully compatible with API Level 19, formatted with markdown alerts for critical constraints, and written as concise, agent-friendly patterns.

About

A skill that brings relevant context for Google Glass software development directly to your favourite LLM

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors