Skip to content

Android App

github-actions[bot] edited this page Dec 2, 2026 · 1 revision

Android App

The Android app (cc.westness.redstart) is a native Material 3 Jetpack Compose client backed by redstart-core via Mozilla UniFFI.

Key Features

Push-to-Talk & Streaming Spoken Replies

  • Hold-to-Talk: When the prompt box is empty, a circular flame-orange microphone button sits in the primary thumb position. Press and hold to speak (with haptic feedback, live RMS audio level bar, and real-time partial transcript); release to send automatically.
  • Streaming TTS: Tap the speaker icon in the top bar to toggle spoken replies (persisted across launches). As assistant text streams in, sentences are cleaned of Markdown formatting and fenced code blocks and spoken via Android TextToSpeech.
  • Barge-in: Pressing Push-to-Talk or tapping the speaker icon while speaking immediately interrupts TTS.

Mobile-First Agent TUI

  • Bottom-anchored stream: Messages stream up from above the composer like a console TUI.
  • Rich rendering: Full Markdown rendering, monospace code/diff cards with copy buttons, flame-accented ❯ prompt rows, collapsible thinking traces, expandable tool-call logs, and a collapsible plan progress banner.
  • TUI status strip: Pinned live activity pill (Thinking…, Running…, Responding…, Speaking…) alongside horizontally scrollable Model / Mode / Effort chips (opening a Material 3 bottom sheet wired to session/set_config_option) and a context token usage pill.
  • Slash commands & cancellation: Typing / opens a vertical command picker populated from ACP available_commands_update; active turns can be stopped immediately via session/cancel.

Sessions & Onboarding

  • QR & deep-link pairing: Handles redstart://connect?... deep links and includes a native Google ML Kit barcode scanner.
  • Navigation drawer: Tap the circular Redstart bird badge in the top-left corner to switch between recent sessions, start a new session, scan a QR code, edit connection settings, or switch between System / Light / Dark themes.

Android 15+ 16 KB Page-Size Compliance

Rust native targets (aarch64-linux-android, x86_64-linux-android) are configured in .cargo/config.toml with -Wl,-z,max-page-size=16384 and -Wl,-z,common-page-size=16384, and JNA is pinned to 5.17.0@aar so libredstart_core.so and libjnidispatch.so pass 16 KB ELF RELRO alignment checks.

Clone this wiki locally