Signed arm64-v8a APKs for the six storytold Craft apps,
built from the newest stable upstream releases, for Android 16 (16 KB page size).
Release: https://github.com/physicistlk/craft-android-apks/releases/tag/v2026.10.30
| App | Upstream version | Upstream commit | Package | APK |
|---|---|---|---|---|
| WordCraft | v0.12.0 | 3de6ff95 |
ai.storyteller.wordcraft |
wordcraft-0.12.0-arm64-v8a-20261030.apk |
| DeckCraft | v0.12.0 | 29f0f777 |
ai.storyteller.deckcraft |
deckcraft-0.12.0-arm64-v8a-20261030.apk |
| GridCraft | v0.13.0 | 43284377 |
ai.storyteller.gridcraft |
gridcraft-0.13.0-arm64-v8a-20261030.apk |
| PdfCraft | v0.15.0 | 75360d1d |
ai.storyteller.pdfcraft |
pdfcraft-0.15.0-arm64-v8a-20261030.apk |
| PhotoCraft | v0.17.0 | b8c3f3aa8 |
ai.storyteller.photocraft |
photocraft-0.17.0-arm64-v8a-20261030.apk |
| VectorCraft | v0.18.0 | 68b68a30 |
ai.storyteller.vectorcraft |
vectorcraft-0.18.0-arm64-v8a-20261030.apk |
All six are arm64-v8a only, minSdk 26, targetSdk 35, signed with APK Signature Scheme
v2 + v3, and 16 KB page-size aligned (0x4000 LOAD segments) for Android 16. They are not
official upstream builds — they are signed with local test keys (see "Signing" below).
Port repositories: wordcraft-android, deckcraft-android, gridcraft-android, pdfcraft-android, photocraft-android, vectorcraft-android.
The ports are a shell crate around the unmodified upstream engine/UI plus a small set of Android-specific additions. The following were implemented across the six apps (milestones 1–6):
- winit's Android backend has no clipboard and never reports modifiers, so
egui-winit'stry_clipboard_shortcutnever fired and only the in-app simulated clipboard worked. src/clipboard.rs(per port) reads/writesClipboardManager/ClipDataover JNI, rewrites plain Ctrl+C/X/V intoEvent::Copy/Cut/Paste(consuming the key press as on desktop), and publishesOutputCommand::CopyTextto the system clipboard.- Wired into each app's own Paste paths: WordCraft
clipboard_text, GridCraftpaste_text, VectorCraftclipboard_read+ a text-onlySystemClipboard, PdfCraftinstall_clipboard_text(so Create ▸ Clipboard reads text). - Android 10+ read restriction handled (exception described, logged, cleared; read answers "nothing"). Plain text only — pictures/HTML are not negotiated yet.
- Manifest intent filters — each APK now declares
ACTION_VIEW(mime*/*) andACTION_SEND(text/plain, image/*) intent filters, so the app appears in the system "Open with" / "Share" lists. Android matches by MIME type; the app then checks the extension itself. - Incoming
ACTION_VIEWandACTION_SENDare read at startup; acontent://URI is copied to a file in the app's cache dir throughContentResolver.openInputStreamand opened on the first frame. - Outgoing
ACTION_SEND(text) viaintents::share_text(chooser intent, noFileProviderneeded for text).share_fileis provided but documented as needing aFileProvideron Android 7+. - Storage Access Framework pickers (
ACTION_OPEN_DOCUMENT) are not available —android-activity0.6.1 lacksstartActivityForResult— so the in-app picker remains the way to open/save.
- A lost-focus frame is detected in
raw_input_hook(raw.viewportsreportingfocused == Some(false)) and preferences are written withstore_now(orsave_prefsfor VectorCraft), so a swipe from Recents or a killed paused Activity no longer loses settings. - PhotoCraft persists preferences as they change (via
Services::save_prefs); it also gained crash-recovery autosave wiring (recovery_services→RecoveryStorein the app's data dir).
Key::BrowserBackis rewritten toKey::Escapein every shell'sraw_input_hook, so Back dismisses an open dialog/picker (which all these apps answer to Escape) instead of finishing the Activity. When nothing is open, Back does nothing.
- WordCraft and DeckCraft already vendored a patched winit; the patch was extended to GridCraft,
PdfCraft, PhotoCraft and VectorCraft, so all six now forward
MotionAction::Scroll(trackpad wheel / two-finger scroll →MouseWheel, with a precedingCursorMovedcarrying the pointer position) andMotionAction::HoverMove(mouse/stylus hover →CursorMoved).
- The vendored winit now sets
Touch.force = Some(Force::Normalized(pointer.pressure())), which feeds PhotoCraft'sStylus::update(pressure curve, tablet-pressure preference) on Android, matching desktop behaviour.
- Two-finger scrolling translated into wheel events (
touch_scroll.rs). - Modifier tracking synthesized from key events (
modifiers.rs), since the backend never emitsModifiersChanged. - In-app file picker (no
rfdon Android),config_changesso the Activity is not recreated, edge-to-edge theme variant B (Android 16 ignores the status-bar opt-out), file logger in the app's data dir, fonts folder underAndroid/media/<package>/Fonts. - 16 KB ELF alignment via
-Wl,-z,max-page-size=16384(NDK r27);targetSdk 35kept becauseandroid-activity0.6.1 lacksOnBackInvokedCallback.
Signed with local test keys (one per app, outside the repositories). Not official upstream
keys — these APKs cannot update an install made from an upstream/kanaaka key without an
uninstall first. The keys are in craft_apps/.*-signing/ (mode 700/600) and are not in this
repo. See output/SIGNING.md in the source tree for fingerprints and rebuild commands.
Each APK was checked with aapt2 (package/version/ABI), apksigner (v2+v3), llvm-readelf
(ELF LOAD segments at 0x4000), and llvm-nm (NativeActivity entry points). Per-APK reports
are in output/verification/ of the source tree.
- No Android device was connected during most of the builds; the clipboard and intent JNI paths are compile- and unit-test-verified. The final set was installed and smoke-tested on a Xiaomi Pad 5.
- Source tree:
/home/lk1/craft_apps(upstream clones + ports + build trees + tools).