Add the Android shell, APK build, bridge test, sweet config and CI

android/: HomeActivity (derived from the legacy MainActivity, same package
dev.ultra.launcher and class name as the Qt build so the default-home choice
carries over), Updater reduced to httpGet + PackageInstaller, RecentsService,
manifest and resources, the committed debug keystore. android/build.sh builds
the APK with aapt2, javac, d8, zipalign and apksigner (no Gradle).
tests/android-sim.cjs drives the page against a stub of window.Android.
.sweet.config.yml / .sweet.yml with moon.mod as the annotated version file.
CI: test job (moon test on js and wasm-gc, browser tests) and an apk job that
publishes a Gitea release.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Sonnet 5.5 committed 2026-11-23 01:08:35 +00:00
1 parent 637129aa4e
commit dccbfd7d86
24 files changed
+1571 -30

No files matched your search

+4
View File
@@ -314,6 +314,10 @@ extern "js" fn h_http_get(url : String, tag : Int) -> Unit =
extern "js" fn h_install_apk(url : String, version : Int) -> Unit =
#|(url, v) => window.Android.installApk(url, v)
///|
extern "js" fn h_declined_version() -> Int =
#|() => window.Android.declinedVersion()
///|
extern "js" fn h_installed_version() -> Int =
#|() => window.Android.installedVersion()