Commit Graph
3 Commits
Author SHA1 Message Date
Claude 70fc005e90 Launcher: fix broken app and widget icons
The WebView requests a screenful of icons at once on several threads,
and loading and drawing icon drawables concurrently failed for that first
batch (and for every widget icon). Icons are now drawn one at a time
under a lock from a mutated drawable, widget icons fall back to the app
icon, and failures are logged under the "ultra" tag. The page retries a
failed icon twice and then shows a blank disc instead of a broken image.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019EEjkJVV72Lu8ndDVWg5BT
2026-10-21 18:43:08 +00:00
Claude 3ed5afbafc Launcher: blank home with added apps and widgets, swipe-down drawer
The home screen now starts empty under the clock. Long-press it to add
apps (the drawer opens in a pick mode) or widgets, and long-press a slot
to move or remove it. Swiping down opens the drawer with every app and a
search; long-press there adds an app to home, swipe up closes it.

Widgets are real AppWidgetHostViews layered over the WebView at the
slots the page reports after each render, with Android's bind and
configure screens on add and native long-press for their menu.

ultra gains on_longpress(msg, arg) for this.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019EEjkJVV72Lu8ndDVWg5BT
2026-10-21 18:01:25 +00:00
Claude 9443761b4a Add an Android home-screen launcher built with ultra
examples/launcher is the home screen as an ultra app: clock, app search
(Enter opens the first match), icon grid and a pinned dock kept in
localStorage. android/ is a dependency-free Java shell that serves it to
a transparent WebView over the wallpaper, answers apps.json and icon
PNGs from LauncherApps, and bridges launch/app info/settings/wallpaper.
CI builds the APK and publishes it as the launcher-latest release.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019EEjkJVV72Lu8ndDVWg5BT
2026-10-21 15:36:59 +00:00