Why We Engineered Lang Huey to Run 100% Offline (And How It Works)
If your software needs an internet connection to teach a child to count in French, you haven’t built classroom infrastructure—you’ve built an excuse. Here is the engineering autopsy of Lang Huey.
If your software requires an active internet connection to deliver core value in an African classroom, you haven't engineered an educational tool.
You have engineered an excuse for why school couldn't hold today.
When we designed the architectural blueprint for Lang Huey, our primary non-negotiable constraint was zero network dependency. Not "offline-first" with occasional background syncs. Not "cached mode" that expires after forty-eight hours.
Absolute, mathematical offline execution.
If NEPA cuts the grid mid-sentence, the diesel generator kicks in, and the telecommunications towers in the area are congested, the French period must still render at a locked 60 frames per second with sub-10ms touch-to-audio latency.
Here is the technical teardown of how we engineered Lang Huey for the harsh reality of African smartboards.
The Architecture at a Glance
┌─────────────────────────────────────────────────────────────┐
│ CLASSROOM HARDWARE RUNTIME │
│ (Android 9–13 • Landscape 16:9 • 10-Point Infrared) │
└──────────────────────────────┬──────────────────────────────┘
│
┌───────────────┴───────────────┐
▼ ▼
[ BUNDLED ASSET STORE ] [ LOCAL EXECUTION ENGINE ]
• 78+ Weeks Pre-synthesized • Deterministic State Machine
• Studio Neural Voice Models • On-Screen Teacher Cue Engine
• Compressed Vector Assets • Kinesthetic Touch Hit-Testing
• Zero Remote Fetch Calls • Local State Serialization
1. The Silicon Reality of Commercial Smartboards
Most software developers design for the hardware sitting on their desks: M-series MacBooks, high-refresh iPad Pros, and flagship Android devices.
Classroom Interactive Flat Panels (IFPs) are an entirely different breed of machine:
- The Compute Core: They typically run embedded system-on-chip (SoC) architectures (Rockchip, Amlogic, or older MediaTek chipsets) powering stripped-down vendor forks of Android (ranging from Android 9 Pie to Android 13).
- The Display Pipeline: They drive massive 65-inch to 86-inch 4K panels, paired with high-latency optical or 10-point infrared (IR) touch digitizers.
- The Ergonomics: These screens are not held in a student's lap. They are bolted to concrete walls, viewed by children sitting up to nine meters away in rooms flooded with natural equatorial daylight.
Standard responsive UI frameworks disintegrate on this hardware:
- Standard 14–16sp typography is completely unreadable from the third desk row.
- Touch targets designed for smartphone thumbs (48x48dp) result in continuous miss-taps when a seven-year-old reaches up with an entire open palm.
- Aspect ratio volatility wreaks havoc on dynamic layouts.
In Lang Huey, we locked the application viewport into hardware-accelerated landscape mode (sensorLandscape). We engineered a specialized classroom typographic scale: 64–72sp for primary vocabulary anchors and 22–26sp for instructional guidance, benchmarked for immediate optical legibility under harsh fluorescent and sunlight glare.
2. Eradicating Cloud Audio Latency
In language instruction, phonetics is everything. An approximation is a failure.
A child learning French must hear the crisp, authentic nasal distinction between un, une, and en.
The naive architectural solution is obvious: call a cloud Text-to-Speech API (like ElevenLabs or Google Cloud TTS) over a REST endpoint whenever a student taps an icon.
In a Lagos classroom, that approach is suicide.
A 600-millisecond network ping completely ruins the feedback loop of a classroom repetition drill. If thirty children are chanting along, an audio delay destroys the collective cadence of the room. And if the data connection drops, the app goes mute.
We solved this through pre-synthesized localized binary bundling:
- We generated the entire 78-week NERDC curriculum using pristine, studio-grade neural voice models (
fr-FR-DeniseNeural), carefully tuned for youth pedagogical cadence and hyper-articulated consonants. - Every single phonetic phoneme, vocabulary item, and contextual dialogue phrase was processed, compressed via high-efficiency local codecs, and baked directly into the APK asset bundle.
- When a child touches the speaker node on the smartboard, the audio thread fires instantly. Touch-to-audio latency is under 10 milliseconds. No loading wheels. No buffering circles. Pure instant playback.
3. The Orchestration State Machine: The Teacher Cue Bar
The most difficult engineering challenge in classroom edtech is not rendering graphics—it is orchestrating human attention.
If you hand an interactive display to a substitute teacher or administrative supervisor who does not speak French, how do you prevent them from feeling helpless?
We built an explicit, deterministic state machine that pairs every visual slide with a synchronized Teacher Cue Bar:
┌─────────────────────────────────────────────────────────────┐
│ SLIDE STATE LIFECYCLE │
│ │
│ [ STATE 01: PRESENTATION ] │
│ Teacher Cue: "Explain that 'L'école' means The School. │
│ Tap audio twice to establish pronunciation." │
│ │ │
│ ▼ │
│ [ STATE 02: CHORAL CADENCE ] │
│ Teacher Cue: "Signal the whole room to repeat together. │
│ Demand maximum energy on the accent." │
│ │ │
│ ▼ │
│ [ STATE 03: TACTILE VERIFICATION ] │
│ Teacher Cue: "Invite Student A to the board to tap │
│ the matching classroom item." │
└─────────────────────────────────────────────────────────────┘
The smartboard handles the phonetic authority, visual stimulation, and answer verification. The supervisor handles the social energy, discipline, and participation flow.
The software teaches the French; the staff member commands the room.
4. Zero-Trust Permission Architecture
School owners and IT coordinators are rightfully suspicious of software brought into their institutions. They have seen sketchy Android applications consume background data, spam notifications, or demand invasive device permissions.
We stripped the Android manifest down to the absolute mathematical bare minimum:
<!-- Manifest Sovereignty: Network capabilities explicitly revoked -->
<uses-permission android:name="android.permission.INTERNET" tools:node="remove" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" />
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove" />
<uses-permission android:name="android.permission.CAMERA" tools:node="remove" />
By removing the internet permission entirely, we provide school owners with an ironclad architectural guarantee: Lang Huey cannot track, cannot leak data, cannot consume airtime, and cannot break when the external world disconnects.
It is deployed via standard USB drive, licensed locally to the device hardware signature, and remains the sovereign asset of that classroom forever.
Explore the live interactive teacher cue engine at lang-huey.vercel.app or reach out to our team to discuss smartboard infrastructure.
