Commit graph event-tracker/CLAUDE.md
Author SHA1 Message Date
4a617469b8
Document dist-cache gotcha for python_depends changes, Settings label bug
CLAUDE.md was out of date after this session's two on-device fixes
(commit d276f88): still described the kivy recipe as python_depends=[]
(filetype is back), and didn't mention the p4a dist-caching trap that
made the filetype fix silently ineffective until the stale dist
directory was deleted, or the Settings popup label wrapping bug.
Cross-referenced with android-app-template's CLAUDE.md, which hit the
same label bug in more places.
2026-08-22 13:22:59 +00:00
5e7cb1ced9
Android build now works end-to-end: JDK pin, p4a venv fix, kivy recipe
- build.sh: pin JAVA_HOME to java-17-openjdk for the build only (Gradle
  8.14.3 can't parse this machine's default java-26 class files).
- build.sh: delete p4a's internal pymodules venv before every run — it
  re-runs `python -m venv` without --clear on each build and corrupts
  its own pip (confirmed two dist-info dirs coexisting).
- CLAUDE.md / android/README.md: document all three build-tooling fixes
  from this session (kivy python_depends, p4a venv corruption, JDK pin)
  so a future session/rebuild doesn't have to re-diagnose them.

Confirmed: full BUILD SUCCESSFUL Gradle run, APK produced at
android/bin/eventtracker-0.1-arm64-v8a-debug.apk.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-22 08:32:29 +00:00
cd9f9456e9
Initial commit: EventTracker desktop app + Android companion
Desktop: GTK3 + matplotlib app tracking arbitrary events (button ->
timestamp -> CSV), with per-event stats, trend charts, settings
(rename/add events, relocate data file), and a reset-with-backup flow.
Portable desktop launcher via a .desktop.in template + install script,
no machine-specific paths baked in.

Android: minimal Kivy v1 companion reading/writing the same CSV format,
plus buildozer build tooling isolated in a venv and a local p4a recipe
override for kivy (see CLAUDE.md for why).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-22 07:52:54 +00:00