Unofficial Onyx SDK Docs
GitHub: https://github.com/progressive-kiwi/onyx-inking-unofficial-docs
Warning
AI-Generated Documentation
This documentation was produced by an AI assistant (Claude). Knowledge was
acquired from four sources: (1) decompiling the SDK AARs with javap to
extract public method signatures; (2) five debug session logs recording
every attempted fix for the blink/gesture-lock problem on a real Boox
NoteMax; (3) the official
OnyxAndroidDemo repository
and its bundled Markdown docs; and (4) open-source apps that ship Onyx SDK
integrations (notable,
PngNote).
Method descriptions that could not be verified against source or Javadoc are individually marked [AI Generated]. Treat all unmarked content as best-effort reverse-engineering, not official Onyx documentation.
Unofficial Onyx SDK Docs
Low-latency stylus input for Onyx BOOX e-ink Android devices, using the
onyxsdk-pen TouchHelper API to bypass the standard MotionEvent stack and
draw directly through the device’s Wacom I2C digitizer at sub-20 ms latency.
Inking
- Getting Started
- Architecture
- SDK Setup
- TouchHelper API
- EPD Rendering
- Troubleshooting
- MotionEvent fallback instead of TouchHelper
- SDK classes not bundled (compileOnly mistake)
- Transitive dependency resolution failure
- DeviceFeatureUtil not found
- Empty region / no pen events
- EpdController class poisoning by diagnostic code
- TouchHelper created before view is laid out
- setLimitRect with view-local instead of screen-absolute coordinates
- Pen events not firing after SDK init (missing enable call)
- System gestures broken after inking
- Pen panning the page instead of drawing
- Application disabled by Boox power management
- TouchPoint import changes across SDK versions
- FreeReflection / hiddenapibypass bootstrap failure log
- Duplicate class from Syncthing / file sync
- Logcat diagnostic reference
- Sample Implementations
API Reference
At a glance
Target device |
Onyx BOOX (NoteMax, Max 3, …) |
Android API |
33+ (Android 13) |
SDK version (current) |
|
Maven repository |
|
Digitizer |
Wacom I2C ( |
Drawing waveform |
A2 (fast, hardware-accelerated) |
Note
The Onyx SDK classes are not provided by the OS classpath. They must be bundled inside your APK. See SDK Setup for the correct Gradle configuration.