Skip to content

Instantly share code, notes, and snippets.

rust で android app 開発

いくつか方法はあるようだが、ここでは WebView + rust target=android の方式。

System API は file と network(https) を試した。 コードは Rust で。 Rust の std/reqwest API で済んでいて、NDK や Java 関数呼び出しは直接書いていない(std 内部では呼んでるかもしれない)。

ビルド環境は cargo-mobile2 を使う。