A minimal Android app that controls the Glyph interface on Nothing devices using the Glyph Developer Kit. Designed and tested for Nothing Phone (2a) Plus, with graceful handling for other supported models.
- Three on/off switches for zones A, B, and C
- Slider for Zone C (0–24) to show progressive segments on the C ring
- Deterministic control: A/B states are applied explicitly; C progress updates do not flip A/B
- In-app status text indicating service connection, registration, and session state
- Nothing device on Android 14+ (Nothing’s SDK limitation)
- Foreground usage only (SDK restriction)
- Android Studio Giraffe+ with AGP 8.11.1
- JDK 17 (project is configured for Java 17 / Kotlin JVM 17)
- Material Components 1.12.0
This project uses the Nothing Glyph Developer Kit:
- Repo: https://github.com/Nothing-Developer-Programme/Glyph-Developer-Kit
- SDK artifact: download
KetchumSDK_Community_YYYYMMDD.jarfrom thesdk/folder of the repo and place it inapp/libs/ - The build already includes
implementation(fileTree(dir: "libs", include: ["*.jar", "*.aar"]))
The app manifest contains the required permission and a development key:
<uses-permission android:name="com.nothing.ketchum.permission.ENABLE" />
<application>
<!-- Use "test" for development, replace with your real API key for production -->
<meta-data android:name="NothingKey" android:value="test" />
</application>From the project root:
# Build debug APK
./gradlew :app:assembleDebug
# Install on connected device
./gradlew :app:installDebugOptional (recommended for development): enable Glyph SDK debug mode on the device
adb shell settings put global nt_glyph_interface_debug_enable 1Notes:
- Debug mode auto-expires after ~48h per SDK docs
- Keep the app in the foreground; background use isn’t supported
- Launch the app
- Watch the status line:
- "binding service…" → "service connected" → "session open"
- If you see "register failed", see Troubleshooting
- Use switches:
- A and B: on/off
- C: enable the switch, then use the slider (0–24) to light progressive C segments
- Turning all switches off clears the Glyphs
app/src/main/java/.../MainActivity.kt— GlyphManager lifecycle, on/off logic and C progressapp/src/main/res/layout/activity_main.xml— Three switches (A/B/C), C slider, status textapp/build.gradle.kts— Java/Kotlin 17, Material Components, local SDK inclusion fromapp/libs
- On service connect: register for the detected device (2a Plus →
DEVICE_23113, etc.), open session, clear any active glyphs, then apply UI state - A/B control: build one
GlyphFramewith A and/or B channels selected andtoggle()once; first callturnOff()for determinism - C control: render progress on the C zone using
displayProgress(cFrame, progress, false); does not toggle A/B
- Status shows "register failed"
- Ensure the manifest
<meta-data android:name="NothingKey" android:value="test" />is present (or replace with your real key) - Ensure SDK JAR is present in
app/libs/ - Ensure device debug is enabled:
adb shell settings put global nt_glyph_interface_debug_enable 1
- App must be in the foreground
- Ensure the manifest
- No lights despite "session open"
- Confirm you’re on a Nothing device with Android 14+
- Try toggling A/B individually and set C slider > 0 with C enabled
- If still no output, share your model/OS; we’ll verify registration target and channel mapping
- Build error about Slider attributes
- We set Slider range in code; ensure Material Components resolves to 1.12.0 (see
gradle/libs.versions.toml)
- We set Slider range in code; ensure Material Components resolves to 1.12.0 (see
- The SDK only works on Nothing devices on Android 14+
- Debug mode auto-disables after ~48h
- Only foreground apps may control glyphs
- Nothing Glyph Developer Kit — © Nothing, used under the terms in their repository