Add typed Android launcher activity support #6

Merged
ober merged 4 commits from feat/android-typed-mail-capabilities into main 2026-09-21 17:27:58 -04:00
Owner

jandroid can now launch an app-owned Activity generated from a typed Jerboa module. The new launcher-activity form only accepts a fully qualified class inside the app package and requires the matching .kt path to come from typed-kotlin-file. It points the manifest at that class and skips the placeholder Activity. Specs without the form keep the existing MainActivity behavior.

Validation: make test; make binary && make binary-smoke; generated MailActivity.kt compiled into an APK, installed/launched on emulator-5554, showed the expected UI text, remained top-resumed, and produced no AndroidRuntime fatal crash. VERSION and jpkg.sexp advance to 0.1.5.

`jandroid` can now launch an app-owned Activity generated from a typed Jerboa module. The new `launcher-activity` form only accepts a fully qualified class inside the app package and requires the matching `.kt` path to come from `typed-kotlin-file`. It points the manifest at that class and skips the placeholder Activity. Specs without the form keep the existing `MainActivity` behavior. Validation: `make test`; `make binary && make binary-smoke`; generated `MailActivity.kt` compiled into an APK, installed/launched on `emulator-5554`, showed the expected UI text, remained top-resumed, and produced no AndroidRuntime fatal crash. `VERSION` and `jpkg.sexp` advance to 0.1.5.
Add typed Android launcher activity support
Some checks failed
required-ci / host-required (pull_request) Successful in 3m45s
version-policy / required (pull_request) Successful in 3m46s
required-ci / android-sdk (pull_request) Has been cancelled
acd75d44ce
ober force-pushed feat/android-typed-mail-capabilities from acd75d44ce
Some checks failed
required-ci / host-required (pull_request) Successful in 3m45s
version-policy / required (pull_request) Successful in 3m46s
required-ci / android-sdk (pull_request) Has been cancelled
to 2a5befe265
Some checks failed
version-policy / required (pull_request) Successful in 3m44s
required-ci / android-sdk (pull_request) Has been cancelled
required-ci / host-required (pull_request) Has been cancelled
2026-09-21 15:15:21 -04:00
Compare
Retrigger CI: host-required job stalled in t00 contract checks
Some checks failed
required-ci / host-required (pull_request) Successful in 3m44s
version-policy / required (pull_request) Successful in 3m43s
required-ci / android-sdk (pull_request) Has been cancelled
9510fcd73c
Retrigger android-sdk after restoring the linux runner
All checks were successful
required-ci / host-required (pull_request) Successful in 3m44s
version-policy / required (pull_request) Successful in 3m45s
required-ci / android-sdk (pull_request) Successful in 5m22s
4372447780
ober merged commit 6f69414199 into main 2026-09-21 17:27:58 -04:00
ober referenced this pull request from a commit 2026-09-21 17:28:00 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ober/jerboa-android!6
No description provided.