orbtk
orbtk copied to clipboard
Android support
Context
OrbTk applications should be run on the mobile operating system Android https://www.android.com.
Problem description & Solution
It should be possible to build, run and deploy OrbTk applications on Android.
What is the current plan for this? I tried to run the examples with cargo-node
and while the build process and the installation worked fine, input didn't work. The widgets didn't respond to anything.
@SolidTux OrbTk does not support touch input at the moment. But I will soon work on it. Hopefully we have someone that could work on a native Android support this month.
Ah, I though the touch stuff is only for multi touch and gestures and that normal clicking is just mouse input. Thanks for clarifying!
@SolidTux OrbTk provides now an initial touch support on web, text input does not work at the moment.
Hello thanks for your hard work. I do appreciate it.
when do you think it will be implemented. is there any plan like 2020,2021
because I am beginner and I really want to learn rust(for mobile android and ios) but if it will take long time like 2024 maybe I will change to flutter. but if it will take less time I will keep learning rust.
so please what are blockers right now? from your project and other projects? and when do you think to solve it?
thanks I am really appreciate your works again and thanks
@adals I think it is still work in progress, I didn't try OrbTk yet, through the README mentions it is already doable via cargo-node
but with some caveats. Native Android support is still "planned".
FWIW, I also started learning Rust months ago and was looking for Android support so I started to follow OrbTk and this issue thread. I would say it is still possible to start learning Rust and plan some projects for mobile platforms in the future. I'm working with godot-rust
maintainers and can tell Godot Engine can export games for Android and support Rust, via a C++ API (GDNative), this is not exactly ✌️true native Rust support✌️ but I found it to be a viable solution so I could learn Rust and ~~try to~~ compile project for multiple platforms, while waiting for Android support in OrbTk.
@tommywalkie thanks for your clarifications. I got it now and will keep learning with a hope to compile apps like flutter in rust in the near future
I think it is realistic that we have native Android support this year. I'm currently work on a new backend, that willl make it a lot easier to implement Android support.
@adals I found this article about using rust and flutter. In the article it says dart support ffi. Theoretical you can code in rust, then call rust in dart. (I am a total beginner)😅
@Kylekibet and @adals there is also an project to use flutter with rust https://github.com/flutter-rs/flutter-rs.
Otherwise I am confident that we could Android support for OrbTk soon.