use aidl to generate rust code
since google is using rust to write parts of android their aidl generator has a rust backend. seems like a viable option could be to scrape aidl files from aosp and use aidl (from android build tools) to generate bindings for all android apis including the ones currently only accessible through jni.
@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 @rust-windowing/publishers to add the github:rust-windowing:publishers team to the crate though :/
EDIT: Turns out you're in it, I invited you for ownership to handle that :)
don't think this will work out. aidl contains java mixed in, so it doesn't just describe the interface.