Files
remember/README.md
T

15 KiB
Raw Blame History

Remember

An experimental, standalone Wear OS audio recorder designed for round watches, with the Galaxy Watch 7 as the primary design target. Capture a thought or the sounds around you, keep bookmarks, and listen back on the watch. No phone app or account is required.

Preview

Screenshots from a Wear OS round-screen emulator:

Remember home screen with a floating minute number and recording controls Home with the bottom-center menu icon revealed by touch Single menu with a grid of icons for every section Recording limit dial showing unlimited recording Large storage ring showing free space and total device capacity

Features

  • One-tap microphone recording, pause/resume, and on-watch playback.
  • Timestamp bookmarks, renaming, and deletion with confirmation.
  • Recording continues in a microphone foreground service when the screen turns off or you leave the app.
  • Floating rounded numerals show captured minutes; the background sweep shows seconds within the current minute.
  • A live microphone edge meter and an interactive bookmark/playback edge.
  • One shared icon grid opens every section directly, with a fixed Menu shortcut and rotary scrolling.
  • Device and app storage monitoring with a large proportional chart.
  • Optional SFTP backups to your own server, a transfer queue, scheduled uploads, and remote playback.
  • Optional minute limits: save and stop, or save each clip and start the next at zero.
  • Native controls, spoken descriptions for custom visuals, and rotary input.

The appearance is inspired by Samsung's Spatial Number watch face. The numerals are original vector paths drawn in code; no Samsung font or wallpaper is bundled. This is an independent project, not an official Samsung app.

Status and limitations

Experimental: suitable for development and evaluation. Build, lint, unit tests, and recording integration tests have passed locally. The UI has been checked on a Wear OS round-screen emulator; recording integration tests used a separate Android emulator. Physical Galaxy Watch 7 validation is still pending.

  • Captures microphone sound, not internal system audio or call audio.
  • Recordings stay on the watch unless you configure and trigger SFTP backups. Phone transfer, restore into the local library, and transcription are not implemented.
  • Backup is experimental. Your real server and its 128 MB memory budget have not yet been validated.
  • Backup generates Ed25519 watch keys and pins the server fingerprint. Existing RSA watch keys remain usable until explicitly replaced. Password login and private-key import are not implemented; RSA, ECDSA, and Ed25519 server host keys are supported.
  • Playback pauses when you leave the playback activity.
  • A brief gap can occur between automatically split clips.
  • Each clip has a 500 MB safety cap; reaching it saves the clip and stops the session.
  • The app attempts to recover playable unfinished files after an interruption, but an abrupt shutdown can leave unrecoverable audio.
  • Uninstalling removes recordings and preferences. Text currently uses English.

Before relying on long sessions, validate microphone quality, screen-off capture, battery use, interruptions, permissions, and rotary behavior on your physical watch. Repository readiness does not imply production or Play Store release readiness.

Build from source

Requirements

  • JDK 21. Android Studio's bundled JDK can be used if it is version 21.
  • Android SDK platform 36.1 (platforms;android-36.1).
  • Android SDK Build Tools 36.1.0 and Platform Tools.
  • Android Studio with support for the project's Android Gradle Plugin 9.2.1, or the command-line tools.
  • Internet access for the first build to download Gradle and dependencies.

The Gradle 9.4.1 wrapper is included; a global Gradle installation is unnecessary. AGP provides built-in Kotlin support. The app supports Android API 31 and later and targets API 36.

Setup

  1. Clone or download this repository and open its root folder in Android Studio.
  2. Install the SDK packages above in SDK Manager and select JDK 21 for Gradle.
  3. Android Studio normally creates the local SDK configuration. For a command-line build, set ANDROID_HOME to your SDK directory or create an untracked local.properties containing sdk.dir=/absolute/path/to/android-sdk.

With Android command-line tools installed, the SDK packages can also be installed using:

sdkmanager "platform-tools" "platforms;android-36.1" "build-tools;36.1.0"

Build and check from the project root:

./gradlew :app:assembleDebug :app:lintDebug :app:testDebugUnitTest :app:assembleDebugAndroidTest

On Windows, use gradlew.bat instead of ./gradlew. The debug APK is generated at app/build/outputs/apk/debug/app-debug.apk; generated APKs are not committed.

Install on a watch or emulator

For an emulator, create a Wear OS Large Round device in Android Studio Device Manager, start it, select it as the deployment target, and run the app configuration.

For a physical watch:

  1. Enable developer options and wireless debugging on the watch.
  2. Connect the watch and computer to the same Wi-Fi network.
  3. Pair using Android Studio's Pair Devices Using Wi-Fi, or use Platform Tools:
adb pair WATCH_IP:PAIRING_PORT
adb connect WATCH_IP:CONNECTION_PORT
adb -s WATCH_IP:CONNECTION_PORT install -r app/build/outputs/apk/debug/app-debug.apk

The pairing and connection ports are different. Read each from the watch's Wireless debugging screens. See Google's Wear OS Wi-Fi debugging guide.

Using Remember

  • Record: tap Record and allow microphone access. Allow notifications to make the recording notification and its Save action easy to reach.
  • Pause / Resume: paused time is excluded from captured duration and minute limits.
  • Mark: add a timestamp bookmark using the button or by tapping the right edge during capture.
  • Save: finish and save the current clip.
  • Moments: browse and play recordings, rename them, or delete them after confirmation. Tap a bookmark to jump to it. The right edge also seeks during playback; the native slider is available as an alternative.
  • Swipe vertically or use rotary input to reach controls below the screen.

Audio is stored as mono AAC in M4A files at 44.1 kHz / 128 kbps, approximately 1 MB per minute. The large numeral shows whole minutes in the current recording or playback, and total saved minutes on the home screen. Floating motion stops while capture is paused, the app is in the background, animations are disabled, or battery saver is active.

Menu and preferences

Open the transparent four-dot Menu icon at the bottom center of the home or recording screen. A three-column icon grid opens Recorder, Moments, Storage, Recording limit, Backup, Server, Transfers, Server recordings, Automatic backup, and Advanced directly. Scroll or use rotary input for the lower rows. The transparent Menu shortcut floats over full-screen pages without a reserved footer bar. Touch the screen to reveal it; it hides after three seconds without interaction. Rotary input also reveals it. It stays visible for touch exploration and keyboard focus, and respects the system accessibility timeout. Returning preserves your grid position. Back returns to the grid, or to the parent page for a clip, picker, or approval step. Recording continues while you browse.

The library uses recording cards, Backup shows a completion dial, Recording limit shows the configured minutes or an unlimited dial, and Automatic backup shows its interval and whether checks are off. Interval, retry, and timeout choices use inline selected chips. Setup forms and actions remain scrollable.

Storage

A large proportional ring fills most of the initial view. Lime is available space, gray is other used storage, and white represents Remember. A small white marker makes a tiny app slice visible without inflating its share. The center shows the percentage free and total capacity. Scroll down for available/app-used amounts, Refresh, and Back.

App usage includes installed app files, recordings, data, and cache. Readings refresh every five seconds while the page is open. Available space follows Android's accounting, including reclaimable cache. If Android's app accounting is unavailable, an approximate app size is marked with ≈.

Recording limit

Turn the limit off for unlimited recording by time, or turn it on and choose 1–1,440 minutes with the picker or rotary input. Disabling it retains your chosen length and action.

Under At the limit, choose Save & stop to end the recording, or Save & start next to continue with a new clip at zero. Split clips have numbered titles and their own bookmarks. Paused time does not count. Changes apply to the next recording session, including all its parts. The 500 MB safety cap applies in either mode.

Backup

Open Menu → Backup for the dashboard. Server, Transfers, Server recordings, Automatic backup, and Advanced are independent tiles in the same menu.

Backup overview with backed-up and waiting counts and Back up now Server approval with Trust server and Cancel buttons, without fingerprint typing Server settings with address, port, and username fields Automatic backup interval dial showing that background checks are off Inline selected chips for retry attempts and connection timeout

  • Server: configure address, port, username, and an existing absolute backup folder. Connect & trust fetches the fingerprint without typing; approve the server once to remember it. Create the watch key, export or copy its public key, and authorize it on your server. Test connection before uploading. See server setup.
  • Transfers: shows saved recordings and their status. Back up / Retry queues unfinished or changed recordings. Pause all cancels transfers and turns automatic backup off. Local recordings are never deleted by backup; local deletion does not delete server copies.
  • Server recordings: Refresh lists completed Remember backups (up to 1,000 per folder). Select a recording to download a verified temporary copy and play it with seeking and bookmark buttons. This is cached playback, not live streaming; sufficient watch storage is required. Leaving the activity pauses playback.
  • Automatic backup: opt in to checks every hour, every six hours, or daily. Charging and unmetered connections are required by default and can be changed. Unmetered does not necessarily mean Wi-Fi. Android schedules work when conditions allow, rather than at an exact clock time; jobs persist across reboot.
  • Advanced: choose 1/3/5 retry attempts, a 20/40/60-second connection timeout, or clear the playback cache. Server identity shows the remembered fingerprint; Forget trust pauses backups and allows a verified server-key change to be approved again.

Uploads use one SFTP connection at a time and bounded buffers, without a database, HTTP backend, shell commands, or compression. Interrupted audio uploads resume; the completed remote audio is read back and SHA-256 checked before publishing metadata and marking it backed up. This integrity check costs an additional full-file download. Each clip has its own audio file and JSON manifest containing title, duration, bookmarks, byte count, and checksum. Metadata changes queue another backup. Receipts are scoped to server address, account, folder, and pinned host key. A receipt records a successful transfer; it does not continuously check whether a server copy was subsequently removed.

The watch's private SSH key is encrypted using Android Keystore. SSH encrypts transport; audio and metadata on your server are not encrypted at rest. End-to-end encryption, exact-time scheduling, bandwidth caps, remote deletion, and restoration into the local library are not implemented. Automatic backup checks periodically for finished clips; saving a clip does not force an immediate upload. Interrupted jobs retain partial files for a later retry, subject to the configured retry limit.

Tests and automated checks

Local checks:

./gradlew :app:assembleDebug :app:lintDebug :app:testDebugUnitTest :app:assembleDebugAndroidTest

Device tests require a disposable emulator with a microphone. They create audio files and temporarily change preferences. Two tests record for a real minute; do not run them during a personal recording. Ensure only the intended test emulator is connected, because the connected-test task can target every connected device.

./gradlew :app:connectedDebugAndroidTest

Coverage includes backup destination validation, encrypted watch-key persistence, the shared menu, direct section navigation and back behavior, backup-page navigation, manifest safety, and (with an opt-in disposable SFTP fixture) resumable transfers, checksum verification, host-key rejection, actual scheduled uploads, scheduling constraints, and cached remote playback/background pause. Network fixture instructions are in docs/backup.md. Coverage also includes duration formatting, limit boundaries, pause exclusion, real one-minute automatic stop and split rollover, playable file output, bookmarks, settings persistence/navigation, storage accounting, and clip rename/delete behavior.

Android checks runs on pushes, pull requests, and manual dispatch. It verifies the wrapper, builds the debug app, runs lint and unit tests, and compiles device tests. It uploads check reports and a debug APK with a 14-day retention period. Device tests are run locally; the workflow does not claim to run them. The workflow uses pinned action commits and read-only repository permissions. Its first hosted run will happen after the repository is pushed to GitHub.

Privacy, contributions, and license

Recordings use private local storage, with optional uploads to your own SFTP server. Automatic backups are off by default. There are no app accounts, analytics, or ads. See PRIVACY.md.

See CONTRIBUTING.md for development and pull-request guidance. Keep private audio, credentials, signing keys, local IDE/device configuration, and build output out of the repository.

Remember's code and original artwork are released under the MIT license. Android, Kotlin, Gradle, build plugins, and test dependencies retain their own licenses. See THIRD_PARTY_NOTICES.md.