Marijn Suijten
Marijn Suijten
@dvc94ch Ah, right, that sounds okay I guess. We have much better support for custom Manifest entries in `Cargo.toml` now so it wouldn't be too hard to define ones' custom...
@dvc94ch Indeed `NativeActivity` (`android.app.Activity` subclass) is implemented in Java which loads the shared object and "forwards" callbacks to native functions. It should be possible to create a Java class from...
Doesn't the NDK expose a Binder API nowadays? https://developer.android.com/ndk/reference/group/ndk-binder
Isn't that Rust backend fairly new? I'm not surprised/confused why our `ndk` doesn't use that yet :) But I'm all in favour of adding a new `ndk-aidl` crate of some...
It is probably easier / recommended to go through the NDK sensor bindings instead: https://developer.android.com/ndk/reference/group/sensor The types are available in `ndk-sys` (`ffi` crate) but don't yet have safe(r) wrappers in...
@dvc94ch Just in case I claimed the `aidl` and `ndk-aidl` crate names for this purpose. Anything else we might want to preemptively claim for this? I'd need one of the...
I guess this is an issue for https://github.com/dvc94ch/cargo-subcommand/, if anyone feels like picking this up and implementing it :)
https://github.com/rust-windowing/android-ndk-rs/issues/102#issuecomment-765356880 https://github.com/dvc94ch/cargo-subcommand/pull/7 https://github.com/dvc94ch/cargo-subcommand/commit/7166d6f45a42105decb0244a61be0e746377269c
I started fixing this a while ago in https://github.com/dvc94ch/cargo-subcommand/pull/17.
That's not really a bug, Just How Things Work™. That said, [winit added a match table to prevent this](https://github.com/rust-windowing/winit/pull/1993) (and we should have a comment or issue around here documenting...