[PR #3676] [CLOSED] Android #5143

Closed
opened 2026-11-03 05:10:32 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3676
Author: @iarikov
Created: 10/29/2026
Status: ❌ Closed

Base: main ← Head: android


📝 Commits (10+)

  • 7f760ba client: the game loop moves into the library
  • 0e34d21 client: build the event loop from Android's activity
  • 70bdff3 input: keep arboard off Android
  • 5f145ed android: the NativeActivity wrapper crate
  • ccfe630 client: the touchscreen as a mouse on Android
  • cff543b client: Android controllers as device events
  • 25306f5 client: the phone's own controls in the world
  • dfa7788 client: a tap outside a container closes it as Escape does
  • 33b9cfc android: the game's data travels in the APK
  • 8209f74 android-port: the port's own tools, docs and README

📊 Changes

36 files changed (+2855 additions, -145 deletions)

View changed files

📝 .gitignore (+5 -0)
📝 Cargo.lock (+15 -0)
📝 Cargo.toml (+1 -0)
📝 README.md (+160 -121)
➕ README.upstream.md (+171 -0)
➕ android-port/.toolchain (+1 -0)
➕ android-port/AndroidManifest.xml (+47 -0)
➕ android-port/LICENSE (+22 -0)
➕ android-port/docs/port.md (+67 -0)
➕ android-port/tools/build.sh (+126 -0)
➕ android-port/tools/emulator.sh (+61 -0)
➕ android-port/tools/env.sh (+28 -0)
➕ android-port/tools/fetch-toolchain.sh (+67 -0)
➕ android-port/tools/patch-winit.sh (+59 -0)
➕ android-port/tools/push-resources.sh (+45 -0)
➕ android-port/tools/run.sh (+43 -0)
➕ android-port/winit/winit-0.30.13-android-back.patch (+22 -0)
➕ android-port/winit/winit-0.30.13-android-gamepad.patch (+83 -0)
➕ android-port/winit/winit.txt (+2 -0)
➕ crates/horizon-android/Cargo.toml (+28 -0)

...and 16 more files

📄 Description

What and why

Vanilla reference

Self-check

Screenshots


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3676 **Author:** [@iarikov](https://github.com/iarikov) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `android` --- ### 📝 Commits (10+) - [`7f760ba`](https://github.com/horizon-rust/horizon/commit/7f760ba08d396a640d7633c5ee9bd70df919b343) client: the game loop moves into the library - [`0e34d21`](https://github.com/horizon-rust/horizon/commit/0e34d21ace6b74d42674580c53d29d74d59338f4) client: build the event loop from Android's activity - [`70bdff3`](https://github.com/horizon-rust/horizon/commit/70bdff31051192472cdbc7f7c3431e044e8b6bc7) input: keep arboard off Android - [`5f145ed`](https://github.com/horizon-rust/horizon/commit/5f145ed3c9ff54f74f83f2b7584dddedda63170b) android: the NativeActivity wrapper crate - [`ccfe630`](https://github.com/horizon-rust/horizon/commit/ccfe63095b024246d1f195924c311175beaec265) client: the touchscreen as a mouse on Android - [`cff543b`](https://github.com/horizon-rust/horizon/commit/cff543b1d425cc0c23d2e3a0a58ba5bd0fd707cb) client: Android controllers as device events - [`25306f5`](https://github.com/horizon-rust/horizon/commit/25306f558372688b58f2d3256e4e97327d842a6f) client: the phone's own controls in the world - [`dfa7788`](https://github.com/horizon-rust/horizon/commit/dfa778894996e8a631fb67ed0a7d2e46365a63db) client: a tap outside a container closes it as Escape does - [`33b9cfc`](https://github.com/horizon-rust/horizon/commit/33b9cfc415d26b4f4ed1425c9da14678598c59af) android: the game's data travels in the APK - [`8209f74`](https://github.com/horizon-rust/horizon/commit/8209f74d1cc53b4bfa40800b8b65f249a8f8a2f4) android-port: the port's own tools, docs and README ### 📊 Changes **36 files changed** (+2855 additions, -145 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+5 -0) 📝 `Cargo.lock` (+15 -0) 📝 `Cargo.toml` (+1 -0) 📝 `README.md` (+160 -121) ➕ `README.upstream.md` (+171 -0) ➕ `android-port/.toolchain` (+1 -0) ➕ `android-port/AndroidManifest.xml` (+47 -0) ➕ `android-port/LICENSE` (+22 -0) ➕ `android-port/docs/port.md` (+67 -0) ➕ `android-port/tools/build.sh` (+126 -0) ➕ `android-port/tools/emulator.sh` (+61 -0) ➕ `android-port/tools/env.sh` (+28 -0) ➕ `android-port/tools/fetch-toolchain.sh` (+67 -0) ➕ `android-port/tools/patch-winit.sh` (+59 -0) ➕ `android-port/tools/push-resources.sh` (+45 -0) ➕ `android-port/tools/run.sh` (+43 -0) ➕ `android-port/winit/winit-0.30.13-android-back.patch` (+22 -0) ➕ `android-port/winit/winit-0.30.13-android-gamepad.patch` (+83 -0) ➕ `android-port/winit/winit.txt` (+2 -0) ➕ `crates/horizon-android/Cargo.toml` (+28 -0) _...and 16 more files_ </details> ### 📄 Description ## What and why <!-- What this changes, and why. Link the issue it fixes ("Fixes #123"). --> ## Vanilla reference <!-- The vanilla classes and methods this follows (tools/rea_vanilla.py), and the harness that checks it. "Horizon-only" for a feature vanilla doesn't have; "none" for tooling or docs. --> ## Self-check <!-- Paste the block `python3 tools/pr_ready.py` prints (`--base upstream/main` from a fork). --> ## Screenshots <!-- For anything players see: before and after. Delete this section otherwise. --> <!-- Please tick "Allow edits by maintainers": we push small fixups ourselves instead of a round trip. See CONTRIBUTING.md. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:32 +07:00
Sign in to join this conversation.
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
horizon-rust/horizon#5143
No description provided.