cargo-mobile
ndk
Our great sponsors
cargo-mobile | ndk | |
---|---|---|
3 | 5 | |
1,153 | 1,044 | |
2.1% | 2.7% | |
0.0 | 8.0 | |
4 months ago | 1 day ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cargo-mobile
-
is it possible to make android app using rust? any step by step tutorial?
For future projects, Dioxus should have Android support. Currently, it only has iOS support, with Android being available with a little extra work using cargo-mobile. The getting started docs give the explanation.
- Status quo on developing for Android in Rust
ndk
-
Bare Metal Rust in Android
You can already. The ndk allows any language to be compiled to android. For rust see
https://github.com/rust-mobile/ndk
Which has the tools to do this.
-
Using Rust instead of C++ for Android NDK development
I found an official introduction to the topic: https://source.android.com/docs/setup/build/rust/building-rust-modules/overview I found these bindings and even tried to make the examples work without luck: https://github.com/rust-mobile/ndk There even exists an interface with the C++ library I am using: https://docs.rs/oboe/latest/oboe/
-
Is the Rust ecosystem capable of making a cross-platform mobile game with p2p Bluetooth yet?
Is something wrong with https://github.com/deviceplug/btleplug or you haven't found it? You could also use bindings to platform libraries like https://github.com/microsoft/windows-rs and https://github.com/rust-mobile/ndk if btleplug doesn't have something fundamental to you.
-
Rust for mobile development?
There's cargo-apk which is godsent extension making the process of building an apk as easy as cargo apk build. Although I wasn't able to make it fully work on my native machine, so I used miniquad's docker image, installed cargo-apk, and then built.
- Is there any other language that has something crucial that Rust hasn't? Minus libraries.
What are some alternatives?
rust-android-gradle
stretch - High performance flexbox implementation written in rust
macroquad - Cross-platform game engine in Rust.
Weylus - Use your tablet as graphic tablet/touch screen on your computer.
cargo-lipo - Cargo subcommand to automatically create universal libraries for iOS.
apollo-framework - The Apollo framework is a toolkit for building stable and robust server software.
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
xbase - Develop Apple software products within your favorite editor.
genapkbuild - Tool to generate Android build system files (Android.mk, Android.bp) from APK automatically.
btleplug - Rust Cross-Platform Host-Side Bluetooth LE Access Library